]> granicus.if.org Git - python/commit
bpo-33671: Add support.MS_WINDOWS and support.MACOS (GH-7800)
authorVictor Stinner <vstinner@redhat.com>
Fri, 22 Jun 2018 17:25:44 +0000 (19:25 +0200)
committerGitHub <noreply@github.com>
Fri, 22 Jun 2018 17:25:44 +0000 (19:25 +0200)
commit8fbbdf0c3107c3052659e166f73990b466eacbb0
tree81ce7da212017b7918b2373dc68a50cb9fda52fc
parent209abf746985526bce255e2fba97d3246924885d
bpo-33671: Add support.MS_WINDOWS and support.MACOS (GH-7800)

* Add support.MS_WINDOWS: True if Python is running on Microsoft Windows.
* Add support.MACOS: True if Python is running on Apple macOS.
* Replace support.is_android with support.ANDROID
* Replace support.is_jython with support.JYTHON
* Cleanup code to initialize unix_shell
16 files changed:
Lib/test/_test_multiprocessing.py
Lib/test/support/__init__.py
Lib/test/test_c_locale_coercion.py
Lib/test/test_cmd_line.py
Lib/test/test_codeop.py
Lib/test/test_faulthandler.py
Lib/test/test_import/__init__.py
Lib/test/test_io.py
Lib/test/test_largefile.py
Lib/test/test_locale.py
Lib/test/test_platform.py
Lib/test/test_shutil.py
Lib/test/test_socket.py
Lib/test/test_strptime.py
Lib/test/test_subprocess.py
Lib/test/test_utf8_mode.py