This includes things like like name, docstring, etc) when using the func_set_timeout wrapper. This resolves using functools.wrap standard library function. Includes unit test (failing before this commit, passing after) Thanks to belongwqz for noting the issue and suggesting functools.wrap as resolution. |
||
|---|---|---|
| .. | ||
| FuncTimeoutTests | ||
| README | ||
| runTests.py | ||
Run ./runTests.py to execute all unit tests against parent directory "func_timeout" (will not run against site install.) This will download GoodTests.py if not already present in PATH, and use it to execute the unit tests in parallel, forcing resolution to the parent func_timeout dir