diff options
| author | Yury Selivanov <yury@magic.io> | 2018-10-02 17:53:06 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-02 17:53:06 (GMT) |
| commit | 9012a0fb4c4ec1afef9efb9fdb0964554ea17983 (patch) | |
| tree | 87ff02fec1fa16d87b30e8b1028e71ea624b5b48 /Lib/test/test_asyncio/test_streams.py | |
| parent | 11c4eaa99362f91c7faea88e31df3e46af020023 (diff) | |
| download | cpython-9012a0fb4c4ec1afef9efb9fdb0964554ea17983.zip cpython-9012a0fb4c4ec1afef9efb9fdb0964554ea17983.tar.gz cpython-9012a0fb4c4ec1afef9efb9fdb0964554ea17983.tar.bz2 | |
bpo-34728: Fix asyncio tests to run under "-Werror" (GH-9661)
Diffstat (limited to 'Lib/test/test_asyncio/test_streams.py')
| -rw-r--r-- | Lib/test/test_asyncio/test_streams.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_streams.py b/Lib/test/test_asyncio/test_streams.py index c529e52..0141df7 100644 --- a/Lib/test/test_asyncio/test_streams.py +++ b/Lib/test/test_asyncio/test_streams.py @@ -560,7 +560,7 @@ class StreamTests(test_utils.TestCase): t1 = asyncio.Task(stream.readline(), loop=self.loop) t2 = asyncio.Task(set_err(), loop=self.loop) - self.loop.run_until_complete(asyncio.wait([t1, t2], loop=self.loop)) + self.loop.run_until_complete(asyncio.wait([t1, t2])) self.assertRaises(ValueError, t1.result) |
