From 3e2ad8ec61a322370a6fbdfb2209cf74546f5e08 Mon Sep 17 00:00:00 2001 From: INADA Naoki Date: Tue, 25 Apr 2017 10:57:18 +0900 Subject: bpo-29617: Remove Python 3.3 support from asyncio (GH-232) --- Lib/asyncio/test_utils.py | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'Lib/asyncio/test_utils.py') diff --git a/Lib/asyncio/test_utils.py b/Lib/asyncio/test_utils.py index b12d5db2a9..d273b08e8f 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(): -- cgit v1.2.1