From a045c05878a44ba8458139e707f9abbf638a44e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Fran=C3=A7ois=20Natali?= Date: Thu, 25 Aug 2011 01:22:50 +0200 Subject: Issue #12656: Really fix test_asyncore failures on Windows buildbots... --- Lib/test/test_asyncore.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/test/test_asyncore.py b/Lib/test/test_asyncore.py index 30d9df2..2c84a27 100644 --- a/Lib/test/test_asyncore.py +++ b/Lib/test/test_asyncore.py @@ -757,7 +757,8 @@ class TestAPI_UseIPv6Sockets(BaseTestAPI): @unittest.skipUnless(HAS_UNIX_SOCKETS, 'Unix sockets required') class TestAPI_UseUnixSockets(BaseTestAPI): - family = socket.AF_UNIX + if HAS_UNIX_SOCKETS: + family = socket.AF_UNIX addr = support.TESTFN use_poll = False -- cgit v0.12