diff options
author | INADA Naoki <methane@users.noreply.github.com> | 2017-04-25 01:57:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-25 01:57:18 (GMT) |
commit | 3e2ad8ec61a322370a6fbdfb2209cf74546f5e08 (patch) | |
tree | 0285efcc8b8d9b7215e4b8dbe106960187b1e628 /Lib/asyncio/test_utils.py | |
parent | f6448e5d65c349576df6e83b8324b9c208e77615 (diff) | |
download | cpython-3e2ad8ec61a322370a6fbdfb2209cf74546f5e08.zip cpython-3e2ad8ec61a322370a6fbdfb2209cf74546f5e08.tar.gz cpython-3e2ad8ec61a322370a6fbdfb2209cf74546f5e08.tar.bz2 |
bpo-29617: Remove Python 3.3 support from asyncio (GH-232)
Diffstat (limited to 'Lib/asyncio/test_utils.py')
-rw-r--r-- | Lib/asyncio/test_utils.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Lib/asyncio/test_utils.py b/Lib/asyncio/test_utils.py index b12d5db..d273b08 100644 --- a/Lib/asyncio/test_utils.py +++ b/Lib/asyncio/test_utils.py @@ -26,7 +26,6 @@ except ImportError: # pragma: no cover ssl = None from . import base_events -from . import compat from . import events from . import futures from . import selectors @@ -465,16 +464,6 @@ class TestCase(unittest.TestCase): # in an except block of a generator self.assertEqual(sys.exc_info(), (None, None, None)) - if not compat.PY34: - # Python 3.3 compatibility - def subTest(self, *args, **kwargs): - class EmptyCM: - def __enter__(self): - pass - def __exit__(self, *exc): - pass - return EmptyCM() - @contextlib.contextmanager def disable_logger(): |