Skip to content

Commit 8670509

Browse files
committed
Replaced timeout_decorator with wrapt_timeout_decorator
1 parent 1c49386 commit 8670509

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Loops/Fix infinite execution/tests/test_task.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
import contextlib
33
import io
44

5-
import timeout_decorator
5+
import wrapt_timeout_decorator
66

77
from task import should_not_be_infinite
88

99

1010
class TestCaseWithTimeouts(unittest.TestCase):
11-
@timeout_decorator.timeout(2)
11+
@wrapt_timeout_decorator.timeout(2)
1212
def test_that_can_take_too_long(self):
1313
f = io.StringIO()
1414
with contextlib.redirect_stdout(f):

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
timeout_decorator
1+
wrapt_timeout_decorator

0 commit comments

Comments
 (0)