]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-114099: Add test exclusions to support running the test suite on iOS (#114889)
authorRussell Keith-Magee <russell@keith-magee.com>
Mon, 5 Feb 2024 00:04:57 +0000 (08:04 +0800)
committerGitHub <noreply@github.com>
Mon, 5 Feb 2024 00:04:57 +0000 (01:04 +0100)
commit391659b3da570bfa28fed5fbdb6f2d9c26ab3dd0
tree19d4bd5693a55e06e3ab4a88826e284a1e9717ae
parent15f6f048a6ecdf0f6f4fc076d013be3d110f8ed6
gh-114099: Add test exclusions to support running the test suite on iOS (#114889)

Add test annotations required to run the test suite on iOS (PEP 730).

The majority of the change involve annotating tests that use subprocess,
but are skipped on Emscripten/WASI for other reasons, and including
iOS/tvOS/watchOS under the same umbrella as macOS/darwin checks.

`is_apple` and `is_apple_mobile` test helpers have been added to
identify *any* Apple platform, and "any Apple platform except macOS",
respectively.
31 files changed:
Lib/test/support/__init__.py
Lib/test/support/os_helper.py
Lib/test/test_asyncio/test_events.py
Lib/test/test_asyncio/test_streams.py
Lib/test/test_asyncio/test_subprocess.py
Lib/test/test_asyncio/test_unix_events.py
Lib/test/test_cmd_line_script.py
Lib/test/test_code_module.py
Lib/test/test_fcntl.py
Lib/test/test_ftplib.py
Lib/test/test_genericpath.py
Lib/test/test_httpservers.py
Lib/test/test_io.py
Lib/test/test_marshal.py
Lib/test/test_mmap.py
Lib/test/test_os.py
Lib/test/test_pdb.py
Lib/test/test_platform.py
Lib/test/test_posix.py
Lib/test/test_pty.py
Lib/test/test_selectors.py
Lib/test/test_shutil.py
Lib/test/test_signal.py
Lib/test/test_socket.py
Lib/test/test_sqlite3/test_dbapi.py
Lib/test/test_stat.py
Lib/test/test_sys_settrace.py
Lib/test/test_unicode_file_functions.py
Lib/test/test_urllib2.py
Lib/test/test_venv.py
Misc/NEWS.d/next/Tests/2024-02-02-13-18-55.gh-issue-114099.C_ycWg.rst [new file with mode: 0644]