summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_cmd_line.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-06-26 00:11:06 (GMT)
committerGitHub <noreply@github.com>2018-06-26 00:11:06 (GMT)
commit937ee9e745d7ff3c2010b927903c0e2a83623324 (patch)
tree39e60ea2d4770bde9800159f2f4e569e0fda729b /Lib/test/test_cmd_line.py
parentfdd6e0bf18517c3dc5e24c48fbfe890229fad1b5 (diff)
downloadcpython-937ee9e745d7ff3c2010b927903c0e2a83623324.zip
cpython-937ee9e745d7ff3c2010b927903c0e2a83623324.tar.gz
cpython-937ee9e745d7ff3c2010b927903c0e2a83623324.tar.bz2
Revert "bpo-33671: Add support.MS_WINDOWS and support.MACOS (GH-7800)" (GH-7919)
This reverts commit 8fbbdf0c3107c3052659e166f73990b466eacbb0.
Diffstat (limited to 'Lib/test/test_cmd_line.py')
-rw-r--r--Lib/test/test_cmd_line.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_cmd_line.py b/Lib/test/test_cmd_line.py
index f28a4b2..ce14a96 100644
--- a/Lib/test/test_cmd_line.py
+++ b/Lib/test/test_cmd_line.py
@@ -187,8 +187,8 @@ class CmdLineTest(unittest.TestCase):
if not stdout.startswith(pattern):
raise AssertionError("%a doesn't start with %a" % (stdout, pattern))
- @unittest.skipUnless((support.MACOS or support.ANDROID),
- 'test specific to macOS and Android')
+ @unittest.skipUnless((sys.platform == 'darwin' or
+ support.is_android), 'test specific to Mac OS X and Android')
def test_osx_android_utf8(self):
def check_output(text):
decoded = text.decode('utf-8', 'surrogateescape')