From 79972f1fad5247ade34ef98ad987162a9a78401d Mon Sep 17 00:00:00 2001 From: Xtreak Date: Sat, 11 May 2019 14:15:17 +0530 Subject: bpo-36884: Fix DeprecationWarning in test_asyncio StreamReader instantiation (GH-13243) https://bugs.python.org/issue36884 --- Lib/test/test_asyncio/test_pep492.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v0.12