diff options
author | Xtreak <tir.karthi@gmail.com> | 2019-05-11 08:45:17 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-05-11 08:45:16 (GMT) |
commit | 79972f1fad5247ade34ef98ad987162a9a78401d (patch) | |
tree | c27bfa60550a0669a7af5e45ea781d7627615946 /Lib | |
parent | f6e17ddffd3ba52a08e977bd9c6c0d6f2fffa905 (diff) | |
download | cpython-79972f1fad5247ade34ef98ad987162a9a78401d.zip cpython-79972f1fad5247ade34ef98ad987162a9a78401d.tar.gz cpython-79972f1fad5247ade34ef98ad987162a9a78401d.tar.bz2 |
bpo-36884: Fix DeprecationWarning in test_asyncio StreamReader instantiation (GH-13243)
https://bugs.python.org/issue36884
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_asyncio/test_pep492.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_pep492.py b/Lib/test/test_asyncio/test_pep492.py index 95ed791..558e268 100644 --- a/Lib/test/test_asyncio/test_pep492.py +++ b/Lib/test/test_asyncio/test_pep492.py @@ -94,7 +94,7 @@ class StreamReaderTests(BaseTest): def test_readline(self): DATA = b'line1\nline2\nline3' - stream = asyncio.StreamReader(loop=self.loop) + stream = asyncio.StreamReader(loop=self.loop, _asyncio_internal=True) stream.feed_data(DATA) stream.feed_eof() |