The python messaging test messaging.endpoints.SetupTests.testConnectError fails on Windows when it shouldn't. The test compares the stringified error with "Connection refused" but on Windows there are two problems:
1. Attempting to connect to port 0 yields a bad address, which isn't what we really want
2. The string result of a refused connect is "No connection could be made because the target machine actively refused it"
To fix this, change the test port to 4 (which is IANA unassigned) and check the string to include simply "refused".