summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_streams.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_asyncio/test_streams.py')
-rw-r--r--Lib/test/test_asyncio/test_streams.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_asyncio/test_streams.py b/Lib/test/test_asyncio/test_streams.py
index a6ea24c..227b227 100644
--- a/Lib/test/test_asyncio/test_streams.py
+++ b/Lib/test/test_asyncio/test_streams.py
@@ -987,10 +987,10 @@ os.close(fd)
wr.close()
f = wr.wait_closed()
self.loop.run_until_complete(f)
- assert rd.at_eof()
+ self.assertTrue(rd.at_eof())
f = rd.read()
data = self.loop.run_until_complete(f)
- assert data == b''
+ self.assertEqual(data, b'')
self.assertEqual(messages, [])