Skip to content

Commit 266be67

Browse files
committed
Enable passing socket test on macOS/net10
1 parent 6a55153 commit 266be67

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/suite/test_socket_stdlib.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
## Run selected tests from test_socket from StdLib
77
##
88

9-
from iptest import is_ironpython, generate_suite, run_test, is_linux, is_mono, is_posix
9+
from iptest import is_ironpython, generate_suite, run_test, is_linux, is_osx, net_version, is_mono, is_posix
1010

1111
import test.test_socket
1212

@@ -37,9 +37,9 @@ def load_tests(loader, standard_tests, pattern):
3737
test.test_socket.UnbufferedFileObjectClassTestCase('testSmallReadNonBlocking'), # TODO: figure out
3838

3939
]
40-
if is_posix:
40+
if is_linux or (is_osx and net_version < (10, 0)):
4141
failing_tests += [
42-
test.test_socket.NonBlockingTCPTests('testRecv'), # TODO: figure out
42+
test.test_socket.NonBlockingTCPTests('testRecv'), # TODO: figure out
4343
]
4444
if not is_mono:
4545
failing_tests += [

0 commit comments

Comments
 (0)