mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-20 08:05:33 +03:00
allow _ProactorBasePipeTransport.__del__
failures in tests (#15908)
This commit is contained in:
parent
0fa98d43ed
commit
f42394d736
@ -1938,7 +1938,11 @@ async def test_clear_pending_roots(
|
||||
cleared_root = json.loads(stdout)
|
||||
stderr = await process.stderr.read()
|
||||
assert process.returncode == 0
|
||||
assert stderr == b""
|
||||
if sys.version_info >= (3, 10, 6):
|
||||
assert stderr == b""
|
||||
else:
|
||||
# https://github.com/python/cpython/issues/92841
|
||||
assert stderr == b"" or b"_ProactorBasePipeTransport.__del__" in stderr
|
||||
elif layer == InterfaceLayer.client:
|
||||
client = await DataLayerRpcClient.create(
|
||||
self_hostname=self_hostname,
|
||||
|
Loading…
Reference in New Issue
Block a user