15
0
Files
python-tornado/tornado-testsuite_timeout.patch
Tomáš Chvátal 0d219f8141 - Minimal version is 3.5 and as such remove 3.4 compat deps
- Change this package back to latest python tornado to use
  same approach like we do with pytest
- Reduce the conflicts even more

- Remove cruft dependencies that should not be needed


- Conflicts fixes

- Use a different conflicts with other tornado versions.

- Rename to python-tornado6 to handle version incompatibilities
- Update to 6.0.3
  + Bug fixes
    * `.gen.with_timeout` always treats ``asyncio.CancelledError`` as a
      ``quiet_exception`` (this improves compatibility with Python 3.8,
      which changed ``CancelledError`` to a ``BaseException``).
    * ``IOStream`` now checks for closed streams earlier, avoiding
      spurious logged errors in some situations (mainly with websockets).
- Update to 6.0.2
  + Bug fixes
    * `.WebSocketHandler.set_nodelay` works again.
    * Accessing ``HTTPResponse.body`` now returns an empty byte string
      instead of raising ``ValueError`` for error responses that don't
      have a body (it returned None in this case in Tornado 5).
- Update to 6.0.1
  + Bug fixes
    * Fixed issues with type annotations that caused errors while
      importing Tornado on Python 3.5.2.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=114
2019-09-18 08:06:53 +00:00

21 lines
678 B
Diff

--- tornado-6.0.3/tornado/test/testing_test.py 2018/03/16 13:18:44 1.1
+++ tornado-6.0.3/tornado/test/testing_test.py 2018/03/16 13:18:56
@@ -54,7 +54,7 @@
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 @@
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)