bpo-36884: Fix DeprecationWarning in test_asyncio StreamReader instantiation (GH-13243)
https://bugs.python.org/issue36884
This commit is contained in:
parent
f6e17ddffd
commit
79972f1fad
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue