diff options
author | Charles-François Natali <neologix@free.fr> | 2011-08-24 23:22:50 (GMT) |
---|---|---|
committer | Charles-François Natali <neologix@free.fr> | 2011-08-24 23:22:50 (GMT) |
commit | a045c05878a44ba8458139e707f9abbf638a44e3 (patch) | |
tree | ca12931141724823a49465beecef892e45c109f4 /Lib/test | |
parent | e3540b47d157d36d78ab8337995e26202020bdae (diff) | |
download | cpython-a045c05878a44ba8458139e707f9abbf638a44e3.zip cpython-a045c05878a44ba8458139e707f9abbf638a44e3.tar.gz cpython-a045c05878a44ba8458139e707f9abbf638a44e3.tar.bz2 |
Issue #12656: Really fix test_asyncore failures on Windows buildbots...
Diffstat (limited to 'Lib/test')
-rw-r--r-- | 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 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 |