diff options
author | Josh <joshdunn.uwo@gmail.com> | 2017-06-10 04:08:18 -0400 |
---|---|---|
committer | Josh <joshdunn.uwo@gmail.com> | 2017-06-10 04:08:18 -0400 |
commit | 2b9b47683c468074cd1038108423418ef8500ae9 (patch) | |
tree | 57a1aed5e12f76cdf18a9f93328d90758a710f77 | |
parent | fc25e49ff9c8deab1346216cba1ca4de4552c4b8 (diff) | |
download | timeout-decorator-2b9b47683c468074cd1038108423418ef8500ae9.tar.gz |
Can set exception message in decorator with Travis CI fixes.
-rw-r--r-- | tests/test_timeout_decorator.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_timeout_decorator.py b/tests/test_timeout_decorator.py index 2489231..52b0e97 100644 --- a/tests/test_timeout_decorator.py +++ b/tests/test_timeout_decorator.py @@ -90,6 +90,7 @@ def test_timeout_pickle_error(): def test_timeout_custom_exception_message(): message = "Custom fail message" + @timeout(seconds=1, exception_message=message) def f(): time.sleep(2) |