mirror of
https://github.com/sprockets/sprockets.http.git
synced 2024-11-14 19:29:28 +00:00
Merge pull request #19 from nvllsvm/master
Avoid RecursionError in test
This commit is contained in:
commit
7ef88a34ae
1 changed files with 1 additions and 1 deletions
2
tests.py
2
tests.py
|
@ -476,7 +476,7 @@ class RunnerTests(MockHelper, unittest.TestCase):
|
||||||
|
|
||||||
def test_that_shutdown_stops_after_timelimit(self):
|
def test_that_shutdown_stops_after_timelimit(self):
|
||||||
def add_timeout(_, callback):
|
def add_timeout(_, callback):
|
||||||
time.sleep(0.05)
|
time.sleep(0.1)
|
||||||
callback()
|
callback()
|
||||||
self.io_loop.add_timeout = mock.Mock(side_effect=add_timeout)
|
self.io_loop.add_timeout = mock.Mock(side_effect=add_timeout)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue