summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-06-03 22:19:21 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-06-03 22:19:21 (GMT)
commitb18b2d797b684d6b54e1f24cce684777d5f771a0 (patch)
tree085499250bb025f157df4fe77f7597d2af79486a
parentb470f0dd2a4a539bb8ba44c818f685fb9a260d38 (diff)
parent8551e0f3e03f950275ab5ca736c70c1e08acc5ef (diff)
downloadcpython-b18b2d797b684d6b54e1f24cce684777d5f771a0.zip
cpython-b18b2d797b684d6b54e1f24cce684777d5f771a0.tar.gz
cpython-b18b2d797b684d6b54e1f24cce684777d5f771a0.tar.bz2
(Merge 3.4) cleanup test_asyncio/test_base_events.py: cm variable was unused
-rw-r--r--Lib/test/test_asyncio/test_base_events.py2
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)