Skip to content

Commit

Permalink
Return an assignment to data
Browse files Browse the repository at this point in the history
  • Loading branch information
arhadthedev committed Oct 5, 2022
1 parent 87e841c commit 7b8caca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_asyncio/test_streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ async def test_wait_closed_on_close(self):
wr.write(b'GET / HTTP/1.0\r\n\r\n')
data = await rd.readline()
self.assertEqual(data, b'HTTP/1.0 200 OK\r\n')
await rd.read()
data = await rd.read()
self.assertTrue(data.endswith(b'\r\n\r\nTest message'))
self.assertFalse(wr.is_closing())
wr.close()
Expand Down

0 comments on commit 7b8caca

Please sign in to comment.