diff options
author | Xtreak <tir.karthi@gmail.com> | 2019-05-11 14:15:17 +0530 |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-05-11 01:45:16 -0700 |
commit | 79972f1fad5247ade34ef98ad987162a9a78401d (patch) | |
tree | c27bfa60550a0669a7af5e45ea781d7627615946 | |
parent | f6e17ddffd3ba52a08e977bd9c6c0d6f2fffa905 (diff) | |
download | cpython-git-79972f1fad5247ade34ef98ad987162a9a78401d.tar.gz |
bpo-36884: Fix DeprecationWarning in test_asyncio StreamReader instantiation (GH-13243)
https://bugs.python.org/issue36884
-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 95ed791858..558e268415 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() |