mirror of https://github.com/MagicStack/uvloop.git
Fix test_create_server_4 with Python 3.12.5 (#614)
After https://github.com/python/cpython/issues/121913 error message `[errno 98] address already in use`
This commit is contained in:
parent
6c770dc3fb
commit
62f92393b0
|
@ -249,7 +249,8 @@ class _TestTCP:
|
||||||
|
|
||||||
with self.assertRaisesRegex(OSError,
|
with self.assertRaisesRegex(OSError,
|
||||||
r"error while attempting.*\('127.*:"
|
r"error while attempting.*\('127.*:"
|
||||||
r"address( already)? in use"):
|
r"( \[errno \d+\])? address"
|
||||||
|
r"( already)? in use"):
|
||||||
|
|
||||||
self.loop.run_until_complete(
|
self.loop.run_until_complete(
|
||||||
self.loop.create_server(object, *addr))
|
self.loop.create_server(object, *addr))
|
||||||
|
|
Loading…
Reference in New Issue