forked from pool/python-tornado6
- version update to 6.0.4 General changes ~~~~~~~~~~~~~~ ``asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())`` for this platform/version. Bug fixes ~~~~~~~~ - Fixed an issue in `.IOStream` (introduced in 6.0.0) that resulted in ``StreamClosedError`` being incorrectly raised if a stream is closed mid-read but there is enough buffered data to satisfy the read. - `.AnyThreadEventLoopPolicy` now always uses the selector event loop on Windows. - modified patches % ignore-resourcewarning-doctests.patch (refreshed) % skip-failing-tests.patch (refreshed) % tornado-testsuite_timeout.patch (refreshed) OBS-URL: https://build.opensuse.org/request/show/783774 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado6?expand=0&rev=9
23 lines
915 B
Diff
23 lines
915 B
Diff
Index: tornado-6.0.4/tornado/test/testing_test.py
|
|
===================================================================
|
|
--- tornado-6.0.4.orig/tornado/test/testing_test.py 2020-03-11 11:37:45.016537755 +0100
|
|
+++ tornado-6.0.4/tornado/test/testing_test.py 2020-03-11 11:38:38.740840572 +0100
|
|
@@ -54,7 +54,7 @@ class AsyncTestCaseTest(AsyncTestCase):
|
|
self.io_loop.add_timeout(self.io_loop.time() + 0.00, self.stop)
|
|
self.wait(timeout=0.02)
|
|
self.io_loop.add_timeout(self.io_loop.time() + 0.03, self.stop)
|
|
- self.wait(timeout=0.15)
|
|
+ self.wait(timeout=0.25)
|
|
|
|
|
|
class LeakTest(AsyncTestCase):
|
|
@@ -262,7 +262,7 @@ class GenTest(AsyncTestCase):
|
|
self.finished = True
|
|
|
|
def test_timeout_environment_variable(self):
|
|
- @gen_test(timeout=0.5)
|
|
+ @gen_test(timeout=0.9)
|
|
def test_long_timeout(self):
|
|
yield gen.sleep(0.25)
|
|
|