tests/common-pattern.py
changeset 35233 1b22d325089c
parent 35232 a037b6647d8c
child 35234 f0445eea9b93
--- a/tests/common-pattern.py	Sat Dec 02 20:10:58 2017 -0500
+++ b/tests/common-pattern.py	Sat Dec 02 20:03:28 2017 -0500
@@ -61,6 +61,14 @@
         # FormatMessage(WSAECONNRESET)
         br'An existing connection was forcibly closed by the remote host',
     ),
+    br'$EADDRINUSE$': (
+        # strerror()
+        br'Address already in use',
+
+        # FormatMessage(WSAEADDRINUSE)
+        br'Only one usage of each socket address'
+        br' \(protocol/network address/port\) is normally permitted',
+    ),
 }
 
 for replace, msgs in _errors.items():