diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-02-19 02:21:08 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-02-19 02:21:08 +0100 |
commit | 74d519fcc685f903a9127987ae53ff75eaf17d73 (patch) | |
tree | 2d2fcf82ab0d4de75d48745b0b9cadc226c851af | |
parent | 79a295261a89f67b9d700732e6e7436bfe63e832 (diff) | |
download | cpython-git-74d519fcc685f903a9127987ae53ff75eaf17d73.tar.gz |
Issue #20682: test_asyncio, _basetest_create_connection() checks also the
sockname, as _basetest_create_ssl_connection().
-rw-r--r-- | Lib/test/test_asyncio/test_events.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py index a0a4d02ca8..15cc520298 100644 --- a/Lib/test/test_asyncio/test_events.py +++ b/Lib/test/test_asyncio/test_events.py @@ -503,6 +503,7 @@ class EventLoopTestsMixin: tr, pr = self.loop.run_until_complete(connection_fut) self.assertIsInstance(tr, asyncio.Transport) self.assertIsInstance(pr, asyncio.Protocol) + self.assertIsNotNone(tr.get_extra_info('sockname')) self.loop.run_until_complete(pr.done) self.assertGreater(pr.nbytes, 0) tr.close() |