diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-06-03 22:18:41 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-06-03 22:18:41 (GMT) |
commit | 8551e0f3e03f950275ab5ca736c70c1e08acc5ef (patch) | |
tree | 5f8b188a97648045070cc840fd071ab7d4d40ec9 /Lib/test/test_asyncio/test_base_events.py | |
parent | a9fa2664ab98a1077e5b16d66c17aea0cd631ed7 (diff) | |
download | cpython-8551e0f3e03f950275ab5ca736c70c1e08acc5ef.zip cpython-8551e0f3e03f950275ab5ca736c70c1e08acc5ef.tar.gz cpython-8551e0f3e03f950275ab5ca736c70c1e08acc5ef.tar.bz2 |
cleanup test_asyncio/test_base_events.py: cm variable was unused
Diffstat (limited to 'Lib/test/test_asyncio/test_base_events.py')
-rw-r--r-- | Lib/test/test_asyncio/test_base_events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_base_events.py b/Lib/test/test_asyncio/test_base_events.py index dbcd590..e28c327 100644 --- a/Lib/test/test_asyncio/test_base_events.py +++ b/Lib/test/test_asyncio/test_base_events.py @@ -600,7 +600,7 @@ class BaseEventLoopWithSelectorTests(unittest.TestCase): with mock.patch.object(self.loop, 'sock_connect', side_effect=asyncio.TimeoutError): coro = self.loop.create_connection(MyProto, '127.0.0.1', 80) - with self.assertRaises(asyncio.TimeoutError) as cm: + with self.assertRaises(asyncio.TimeoutError): self.loop.run_until_complete(coro) self.assertTrue(sock.close.called) |