tusharsadhwani / python_leetcode_runner

Test your leetcode Python solutions locally.

Home Page:https://pypi.org/project/python_leetcode_runner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a timeout variable

tusharsadhwani opened this issue · comments

In case of infinite loops, the test gets stuck forever and you don't get to see the actual outputs of failed test cases.

Solution: Set a default timeout of 1 second, and allow people to add a global timeout = ... in seconds to their solution file, to override the default.