summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_events.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-07-11 09:58:33 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-07-11 09:58:33 (GMT)
commit770e48d0174726e339074cfffa68fce23768aab5 (patch)
tree807e997af92d392c29b5e060588460d42d3aec00 /Lib/test/test_asyncio/test_events.py
parent3740d589f7e1737da480b2730161cb835b8dd55c (diff)
downloadcpython-770e48d0174726e339074cfffa68fce23768aab5.zip
cpython-770e48d0174726e339074cfffa68fce23768aab5.tar.gz
cpython-770e48d0174726e339074cfffa68fce23768aab5.tar.bz2
asyncio: sync with Tulip
* Tulip issue #182: Improve logs of BaseEventLoop._run_once() - Don't log non-blocking poll - Only log polling with a timeout if it gets events or if it timed out after more than 1 second. * Fix some pyflakes warnings: remove unused imports
Diffstat (limited to 'Lib/test/test_asyncio/test_events.py')
-rw-r--r--Lib/test/test_asyncio/test_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py
index e04c287..06552f8 100644
--- a/Lib/test/test_asyncio/test_events.py
+++ b/Lib/test/test_asyncio/test_events.py
@@ -715,7 +715,7 @@ class EventLoopTestsMixin:
with self.assertRaisesRegex(ValueError,
'path and sock can not be specified '
'at the same time'):
- server = self.loop.run_until_complete(f)
+ self.loop.run_until_complete(f)
def _create_ssl_context(self, certfile, keyfile=None):
sslcontext = ssl.SSLContext(ssl.PROTOCOL_SSLv23)