diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-06-26 02:11:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-26 02:11:06 +0200 |
commit | 937ee9e745d7ff3c2010b927903c0e2a83623324 (patch) | |
tree | 39e60ea2d4770bde9800159f2f4e569e0fda729b /Lib/test/test_socket.py | |
parent | fdd6e0bf18517c3dc5e24c48fbfe890229fad1b5 (diff) | |
download | cpython-git-937ee9e745d7ff3c2010b927903c0e2a83623324.tar.gz |
Revert "bpo-33671: Add support.MS_WINDOWS and support.MACOS (GH-7800)" (GH-7919)
This reverts commit 8fbbdf0c3107c3052659e166f73990b466eacbb0.
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 44966e450e..f377ebcb27 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -1038,7 +1038,7 @@ class GeneralModuleTests(unittest.TestCase): eq(udpport, port) # Now make sure the lookup by port returns the same service name # Issue #26936: Android getservbyport() is broken. - if not support.ANDROID: + if not support.is_android: eq(socket.getservbyport(port2), service) eq(socket.getservbyport(port, 'tcp'), service) if udpport is not None: |