[Python-checkins] cpython: Issue #12656: Really fix test_asyncore failures on Windows buildbots...

charles-francois.natali python-checkins at python.org
Thu Aug 25 01:21:37 CEST 2011


http://hg.python.org/cpython/rev/f3444d795062
changeset: 72066:f3444d795062
user: Charles-François Natali <neologix at free.fr>
date: Thu Aug 25 01:22:50 2011 +0200
summary:
 Issue #12656: Really fix test_asyncore failures on Windows buildbots...
files:
 Lib/test/test_asyncore.py | 3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_asyncore.py b/Lib/test/test_asyncore.py
--- a/Lib/test/test_asyncore.py
+++ b/Lib/test/test_asyncore.py
@@ -757,7 +757,8 @@
 
 @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
 
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /