self.finished = True
@skipNotCPython
- @unittest.skipIf(
- (3,) < sys.version_info < (3, 6), "asyncio.Future has reference cycles"
- )
def test_coroutine_refcounting(self):
# On CPython, tasks and their arguments should be released immediately
# without waiting for garbage collection.
from tornado.test.util import (
skipIfNonUnix,
refusing_port,
- skipPypy3V58,
ignore_deprecation,
abstract_base_test,
)
client.close()
@skipIfNonUnix
- @skipPypy3V58
@gen_test
def test_inline_read_error(self):
# An error on an inline read is raised without logging (on the
server.close()
client.close()
- @skipPypy3V58
@gen_test
def test_async_read_error_logging(self):
# Socket errors on asynchronous reads should be logged (but only
platform.python_implementation() != "CPython", "Not CPython implementation"
)
-# Used for tests affected by
-# https://bitbucket.org/pypy/pypy/issues/2616/incomplete-error-handling-in
-# TODO: remove this after pypy3 5.8 is obsolete.
-skipPypy3V58 = unittest.skipIf(
- platform.python_implementation() == "PyPy"
- and sys.version_info > (3,)
- and sys.pypy_version_info < (5, 9), # type: ignore
- "pypy3 5.8 has buggy ssl module",
-)
-
def _detect_ipv6():
if not socket.has_ipv6: