We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 963eb0f commit 4cdbc45Copy full SHA for 4cdbc45
Lib/test/test_asyncio/test_streams.py
@@ -1229,10 +1229,14 @@ def test_eof_feed_when_closing_writer(self):
1229
self.assertEqual(messages, [])
1230
1231
def test_stream_reader_create_warning(self):
1232
+ with contextlib.suppress(AttributeError):
1233
+ del asyncio.StreamReader
1234
with self.assertWarns(DeprecationWarning):
1235
asyncio.StreamReader
1236
1237
def test_stream_writer_create_warning(self):
1238
1239
+ del asyncio.StreamWriter
1240
1241
asyncio.StreamWriter
1242
0 commit comments