Skip to content

Commit

Permalink
Fix TcpProxy for python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Pliner committed Dec 6, 2020
1 parent 29cc1ed commit ce9aaa3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,8 @@ async def disconnect(self):
while self.connections:
writer = self.connections.pop()
writer.close()
await writer.wait_closed()
if hasattr(writer, "wait_closed"):
await writer.wait_closed()

@staticmethod
async def _pipe(
Expand Down

0 comments on commit ce9aaa3

Please sign in to comment.