Skip to content

Commit 94dae39

Browse files
committed
fix close
1 parent b929fd5 commit 94dae39

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/asynchronous/test_srv_polling.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ def dns_resolver_response():
184184
):
185185
await assertion_method(expected_response, client)
186186

187-
# Close the client early to avoid affecting the next scenario run.
188-
client.close()
187+
# Close the client early to avoid affecting the next scenario run.
188+
await client.close()
189189

190190
async def test_addition(self):
191191
response = self.BASE_SRV_RESPONSE[:]

test/test_srv_polling.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ def dns_resolver_response():
184184
):
185185
assertion_method(expected_response, client)
186186

187-
# Close the client early to avoid affecting the next scenario run.
188-
client.close()
187+
# Close the client early to avoid affecting the next scenario run.
188+
client.close()
189189

190190
def test_addition(self):
191191
response = self.BASE_SRV_RESPONSE[:]

0 commit comments

Comments
 (0)