FAILED tests/test_connection.py::test_offline - AssertionError: Regex pattern did not match.
Expected regex: 'All addresses failed: 127.0.0.1:57094: Connection establishment: Connection refused.'
Actual message: "RPC call failed: method: connect, payload: {'id': '038194b5f32bdf0aa59812c86c4ef7ad2f294104fa027d1ace9b469bb6f88cf37b', 'host': 'localhost', 'port': 57094}, error: {'code': 401, 'message': 'All addresses failed: 127.0.0.1:57094: Connection establishment: Bad file descriptor. '}"
How to replicate
On MacOS M5 Tahoe 26.4 run
test_connection.py::test_offlineThe test fail with:
The test pass on Linux