Merge pull request #19 from nvllsvm/master

Avoid RecursionError in test
This commit is contained in:
Gavin M. Roy 2018-01-29 11:26:43 -05:00 committed by GitHub
commit 7ef88a34ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -476,7 +476,7 @@ class RunnerTests(MockHelper, unittest.TestCase):
def test_that_shutdown_stops_after_timelimit(self):
def add_timeout(_, callback):
time.sleep(0.05)
time.sleep(0.1)
callback()
self.io_loop.add_timeout = mock.Mock(side_effect=add_timeout)