1
0

tests: fix TestLNTransport.test_loop for python 3.12

Semantics for server.wait_closed changed in 3.12, and it was always
a no-op in our usage in prior versions.
see https://github.com/python/cpython/issues/104344
This commit is contained in:
SomberNight
2023-12-24 07:12:15 +00:00
parent 872ab29436
commit 3d1009f7e2

View File

@@ -95,6 +95,5 @@ class TestLNTransport(ElectrumTestCase):
await group.spawn(server_shaked.wait())
finally:
server.close()
await server.wait_closed()
await f()