Commit 2a7f7bbd authored by Denis Bilenko's avatar Denis Bilenko

update test__server.py - 'spawn' is now called '_spawn'

parent 58184039
......@@ -272,7 +272,7 @@ class TestDefaultSpawn(TestCase):
assert self.server.started
self.hook_stderr()
error = ExpectedError('test_error_in_spawn')
self.server.spawn = lambda *args: gevent.getcurrent().throw(error)
self.server._spawn = lambda *args: gevent.getcurrent().throw(error)
self.assertAcceptedConnectionError()
self.assert_stderr_traceback(error)
#self.assert_stderr('^WARNING: <SimpleStreamServer .*?>: ignoring test_error_in_spawn \\(sleeping \d.\d+ seconds\\)\n$')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment