summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorXtreak <tir.karthi@gmail.com>2019-05-11 08:45:17 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-05-11 08:45:16 (GMT)
commit79972f1fad5247ade34ef98ad987162a9a78401d (patch)
treec27bfa60550a0669a7af5e45ea781d7627615946 /Lib
parentf6e17ddffd3ba52a08e977bd9c6c0d6f2fffa905 (diff)
downloadcpython-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.py2
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()