diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-06-04 00:18:19 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-06-04 00:18:19 +0200 |
commit | b639b576eea434a580e0bcfa08faa416aee19e3d (patch) | |
tree | af55bb604c7aa1b9d52d830989f60c9525af8c2d | |
parent | c93f26b03c7e85a492c0f50d050148e2d43f6deb (diff) | |
download | trollius-b639b576eea434a580e0bcfa08faa416aee19e3d.tar.gz |
cleanup test_base_events: cm variable was unused
-rw-r--r-- | tests/test_base_events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_base_events.py b/tests/test_base_events.py index dbcd590..e28c327 100644 --- a/tests/test_base_events.py +++ b/tests/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) |