diff options
Diffstat (limited to 'community/py3-uvloop/tcp-tests.patch')
-rw-r--r-- | community/py3-uvloop/tcp-tests.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/community/py3-uvloop/tcp-tests.patch b/community/py3-uvloop/tcp-tests.patch new file mode 100644 index 00000000000..d6e79379845 --- /dev/null +++ b/community/py3-uvloop/tcp-tests.patch @@ -0,0 +1,15 @@ +Adjust error message for musl-based systems. + +--- a/tests/test_tcp.py ++++ b/tests/test_tcp.py +@@ -221,8 +221,8 @@ class _TestTCP: + addr = sock.getsockname() + + with self.assertRaisesRegex(OSError, +- r"error while attempting.*\('127.*: " +- r"address( already)? in use"): ++ r"\[Errno 98\] error while attempting.*\('127.*: " ++ r"address in use"): + + self.loop.run_until_complete( + self.loop.create_server(object, *addr)) |