diff options
Diffstat (limited to 'Lib/test/test_socket.py')
-rw-r--r-- | Lib/test/test_socket.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index a00a99f..320f373 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -2074,7 +2074,7 @@ def test_main(): ]) if hasattr(socket, "socketpair"): tests.append(BasicSocketPairTest) - if sys.platform == 'linux2': + if sys.platform.startswith('linux'): tests.append(TestLinuxAbstractNamespace) if isTipcAvailable(): tests.append(TIPCTest) |