func_timeout/tests/FuncTimeoutTests
Tim Savannah 00685ec546 Issue #2 (Resolve) - Ensure we do not lose function information when using the func_set_timeout wrapper.
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.
2017-08-10 18:48:50 -04:00
..
test_Basic.py Make python2 work as well as python3 2017-05-20 21:23:37 -04:00
test_Decorator.py Issue #2 (Resolve) - Ensure we do not lose function information when using the func_set_timeout wrapper. 2017-08-10 18:48:50 -04:00
test_TestUtils.py Some tests 2017-05-20 16:22:14 -04:00
test_TestUtilsSleep.py Some tests 2017-05-20 16:22:14 -04:00
test_TestUtilsSleepWithArgs.py Some tests 2017-05-20 16:22:14 -04:00
TestUtils.py Some tests 2017-05-20 16:22:14 -04:00