From ef2c12304f08723dc8e79d1c59bc32c946d758dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 26 Feb 2023 08:20:01 -0800 Subject: [PATCH] errno.ECONNREFUSED is 61 on Darwin --- tests/test_integrations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_integrations.py b/tests/test_integrations.py index 08f6e13..1bcb505 100644 --- a/tests/test_integrations.py +++ b/tests/test_integrations.py @@ -23,7 +23,7 @@ from io import StringIO LOG_TEST_SOCKET = r"""^\{_?socket(object)?\}.connect\(\('127.0.0.1', 1\)\) +<<< .*tests[\/]test_integrations.py:\d+:test_socket.* -\{_?socket(object)?\}.connect \~ raised .*(ConnectionRefusedError|error)\((10061|111), .*refused.*\)""" +\{_?socket(object)?\}.connect \~ raised .*(ConnectionRefusedError|error)\((10061|111|61), .*refused.*\)""" def test_mock_builtin():