Issue #12656: Really fix test_asyncore failures on Windows buildbots...

This commit is contained in:
Charles-François Natali 2011-08-25 01:22:50 +02:00
parent e3540b47d1
commit a045c05878
1 changed files with 2 additions and 1 deletions

View File

@ -757,6 +757,7 @@ class TestAPI_UseIPv6Sockets(BaseTestAPI):
@unittest.skipUnless(HAS_UNIX_SOCKETS, 'Unix sockets required')
class TestAPI_UseUnixSockets(BaseTestAPI):
if HAS_UNIX_SOCKETS:
family = socket.AF_UNIX
addr = support.TESTFN
use_poll = False