mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Revert "bpo-33671: Add support.MS_WINDOWS and support.MACOS (GH-7800)" (GH-7919)
This reverts commit 8fbbdf0c31
.
This commit is contained in:
parent
fdd6e0bf18
commit
937ee9e745
16 changed files with 91 additions and 95 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue