cpython/Lib/test
Miss Islington (bot) ebe5e216c8
[3.14] gh-143006: Fix and optimize mixed comparison of float and int (GH-143084) (GH-143623)
When comparing negative non-integer float and int with the same number
of bits in the integer part, __neg__() in the int subclass returning
not an int caused an assertion error.

Now the integer is no longer negated. Also, reduced the number of
temporary created Python objects.
(cherry picked from commit 66bca383bd)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2026-01-09 17:32:23 +00:00
..
archivetestdata gh-117084: Fix ZIP file extraction for directory entry names with backslashes on Windows (GH-117129) 2024-03-22 20:08:00 +02:00
audiodata gh-104773: PEP 594: Remove the aifc module (#104933) 2023-05-25 17:20:48 +02:00
certdata gh-107562: Update test certificates to expire far in the future (GH-125104) 2024-10-09 11:17:02 +02:00
cjkencodings
configdata gh-108303: Move config parser data to Lib/test/configparserdata/ (gh-111879) 2023-11-09 14:52:32 +01:00
crashers gh-121921: Make bogus_code_obj.py crash the interpreter (#121922) 2024-07-18 04:02:08 -04:00
data [3.14] gh-142681: Move NormalizationTest-3.2.0.txt to more safe place. (GH-142935) (GH-142944) 2025-12-18 18:34:05 +01:00
decimaltestdata Fix typos (#123775) 2024-09-09 14:58:26 +02:00
dtracedata
encoded_modules
leakers gh-93839: Move Lib/ctypes/test/ to Lib/test/test_ctypes/ (#94041) 2022-06-21 10:24:33 +02:00
libregrtest [3.14] gh-143553: Add support for parametrized resources in regrtests (GH-143554) (GH-143555) 2026-01-08 18:12:33 +02:00
mathdata gh-101410: Customize error messages for 1-arg math functions (#129497) 2025-04-22 11:29:20 +02:00
regrtestdata/import_from_tests gh-108927: Fix removing testing modules from sys.modules (GH-108952) 2023-12-04 15:43:27 +00:00
subprocessdata [3.14] gh-134954: Hard-cap max file descriptors in subprocess test fd_status (GH-134955) (#134980) 2025-05-31 14:55:03 +00:00
support [3.14] gh-143460: Skip infinite recusion tests for infinite stack size (GH-143606) (#143619) 2026-01-09 16:54:49 +00:00
test_ast [3.14] gh-143460: Skip infinite recusion tests for infinite stack size (GH-143606) (#143619) 2026-01-09 16:54:49 +00:00
test_asyncio [3.14] gh-142556: fix crash when a task gets re-registered during finalization in asyncio (GH-142565) (#142566) 2025-12-11 10:00:44 +00:00
test_capi [3.14] gh-143429: Use compile-time NaN encoding detection for test_struct (GH-143432) (#143595) 2026-01-09 12:32:49 +01:00
test_cext gh-132415: Update vendored setuptools in `Lib/test/wheeldata` (#132887) 2025-04-25 00:46:20 +01:00
test_concurrent_futures [3.14] gh-136470: Correct InterpreterPoolExecutor's default thread name (GH-136472) (GH-136889) 2025-07-21 00:00:19 +00:00
test_cppext gh-127906: Add missing sys import to test_cppext (#132902) 2025-04-25 10:19:26 +02:00
test_ctypes [3.14] gh-143164: Fix incorrect error message for ctypes bitfield overflow (GH-143165) (GH-143176) 2025-12-25 17:34:02 +00:00
test_dataclasses [3.14] gh-142214: Fix two regressions in dataclasses (GH-142223) (#142277) 2025-12-05 08:08:15 +00:00
test_doctest [3.14] gh-136914: Fix support of cached functions and properties in DocTest's lineno computation (GH-136930) (#137616) 2025-10-07 20:48:10 +02:00
test_email [3.14] Correctly fold unknown-8bit originating from encoded words. (GH-142517) (#143146) 2025-12-24 13:20:05 -05:00
test_free_threading [3.14] gh-142975: During GC, mark frozen objects with a merged zero refcount for destruction (GH-143156) (GH-143175) 2025-12-25 12:00:42 -05:00
test_future_stmt [3.14] gh-133581: Improve AST unparsing of t-strings (GH-133635) (#133666) 2025-05-08 13:40:44 +00:00
test_gdb gh-117174: Fix reference leak and gdb tests (#131095) 2025-03-11 23:17:58 +00:00
test_import [3.14] gh-140657: Don't rerun test_import single phase init test (GH-140712) (#140713) 2025-10-28 17:33:34 +00:00
test_importlib [3.14] gh-141930: Use the regular IO stack to write .pyc files for a better error message on failure (GH-141931) (#142021) 2025-12-01 18:43:50 +02:00
test_inspect [3.14] gh-139783: Fix inspect.getsourcelines() for the case when a decorator is followed by a comment or an empty line (GH-139836) (GH-139889) 2025-10-10 08:18:32 +00:00
test_interpreters [3.14] GH-141509: Fix warning about remaining subinterpreters (GH-141528) (GH-141566) 2025-11-15 13:56:52 -05:00
test_json [3.14] gh-143460: Skip infinite recusion tests for infinite stack size (GH-143606) (#143619) 2026-01-09 16:54:49 +00:00
test_module gh-125900: Clean-up logic around immortalization in free-threading (#125901) 2024-10-24 18:09:59 -04:00
test_multiprocessing_fork gh-117657: Skip test when running under TSan (GH-121549) 2024-07-09 14:12:45 -07:00
test_multiprocessing_forkserver gh-108388: Split test_multiprocessing_spawn (#108396) 2023-08-24 05:35:39 +02:00
test_multiprocessing_spawn gh-108388: Split test_multiprocessing_spawn (#108396) 2023-08-24 05:35:39 +02:00
test_pathlib [3.14] GH-133789: Fix unpickling of pathlib objects pickled in Python 3.13 (GH-133831) (#140276) 2025-10-17 22:23:01 +00:00
test_peg_generator [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_pydoc [3.14] gh-138568: Make help mode in PyREPL not exit on empty line input (GH-143512) (GH-143519) 2026-01-07 17:06:53 +01:00
test_pyrepl [3.14] gh-143394: On macOS, run main PyREPL tests as "Apple Terminal" as well (GH-143461) (GH-143466) 2026-01-06 15:49:43 +01:00
test_sqlite3 [3.14] gh-142830: prevent some crashes when mutating sqlite3 callbacks (GH-143245) (#143322) 2026-01-01 11:24:21 +00:00
test_string [3.14] GH-132661: Add `string.templatelib.convert()` (GH-135217) (#136671) 2025-07-15 10:22:24 +00:00
test_tkinter [3.14] gh-130693: Add more tests for tkinter.Text.search() (GH-130848) (GH-141669) 2025-11-17 16:26:30 +00:00
test_tomllib [3.14] gh-143460: Skip infinite recusion tests for infinite stack size (GH-143606) (#143619) 2026-01-09 16:54:49 +00:00
test_tools gh-130197: Test pygettext --output option (GH-133041) 2025-05-01 19:30:24 +03:00
test_ttk gh-133306: Use \z instead of \Z in regular expressions in the stdlib (GH-133337) 2025-05-03 17:58:49 +03:00
test_unittest [3.14] gh-142752: add more thread safety tests for mock (GH-142791) (#142856) 2025-12-17 08:14:20 +00:00
test_warnings [3.14] gh-135801: Add tests for filtering warnings by module (GH-140240) (GH-140246) 2025-10-17 11:48:03 +00:00
test_zipfile [3.14] Add explanation comments for tests for overlapped ZIP entries (GH-137152) (GH-142310) 2025-12-05 16:35:21 +00:00
test_zoneinfo [3.14] gh-143241: Fix infinite loop in zoneinfo._common.load_data (GH-143243) (#143251) 2025-12-28 15:14:04 +00:00
tkinterdata gh-104773: PEP 594: Remove the imghdr module (#104777) 2023-05-26 13:29:45 +00:00
tokenizedata gh-108303: Fix and move badsyntax_pep3120.py (#109513) 2023-09-18 14:04:17 +01:00
tracedmodules
translationdata gh-126946: Improve error message in getopt.do_longs based on existing comment (GH-126871) 2024-11-26 10:54:02 +02:00
typinganndata [3.14] gh-136316: Make typing.evaluate_forward_ref better at evaluating nested forwardrefs (GH-136319) (#136346) 2025-07-07 00:10:57 +00:00
wheeldata gh-132415: Update vendored setuptools in `Lib/test/wheeldata` (#132887) 2025-04-25 00:46:20 +01:00
xmltestdata
zipimport_data gh-118107: Fix zipimporter ZIP64 handling. (GH-118108) 2024-05-07 09:23:27 +02:00
.ruff.toml [3.14] Update pre-commit hooks (GH-137591) (#137621) 2025-08-11 11:21:45 +03:00
__init__.py
__main__.py gh-109566: Fix regrtest code adding Python options (#109926) 2023-09-26 21:59:11 +00:00
_code_definitions.py [3.14] gh-135437: Account For Duplicate Names in _PyCode_SetUnboundVarCounts() (gh-135493) 2025-06-13 23:14:00 +00:00
_crossinterp_definitions.py gh-87859: Track Code Object Local Kinds For Arguments (gh-132980) 2025-04-29 02:21:47 +00:00
_test_atexit.py [3.14] gh-112127: Fix possible use-after-free in atexit.unregister() (GH-114092) (#142878) 2025-12-17 21:36:12 +05:30
_test_eintr.py [3.14] gh-137397: Skip test_os_open on NetBSD due to indefinite hang (GH-137398) (#137406) 2025-09-08 17:58:44 +03:00
_test_embed_structseq.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
_test_gc_fast_cycles.py [3.14] gh-133532: Run GC fast cycles test in subprocess. (gh-133533) (gh-133716) 2025-05-09 12:30:27 -07:00
_test_monitoring_shutdown.py gh-115832: Fix instrumentation version mismatch during interpreter shutdown (#115856) 2024-03-04 11:29:39 -05:00
_test_multiprocessing.py [3.14] gh-143121: Skip test that leak threads under TSan (gh-143125) (#143141) 2025-12-24 13:31:05 +00:00
_test_venv_multiprocessing.py gh-102515: Remove unused imports in the Lib/ directory (#102516) 2023-03-08 11:45:38 +00:00
archiver_tests.py gh-67837, gh-112998: Fix dirs creation in concurrent extraction (GH-115082) 2024-02-11 12:38:07 +02:00
audiotests.py
audit-tests.py gh-135543: Emit sys.remote_exec audit event when sys.remote_exec is called (GH-135544) 2025-06-19 20:51:06 +00:00
autotest.py gh-109162: libregrtest: use relative imports (#109250) 2023-09-11 07:02:35 +00:00
bisect_cmd.py gh-115122: Add --bisect option to regrtest (#115123) 2024-02-18 20:06:39 +00:00
clinic.test.c gh-132987: Support __index__() for "k" and "K" formats in PyArg_Parse (GH-132988) 2025-04-26 17:14:18 +03:00
cov.py gh-110722: Make -m test -T -j use sys.monitoring (GH-111710) 2023-11-10 18:17:45 +01:00
curses_tests.py
datetimetester.py [3.14] gh-129483: Make TestLocalTimeDisambiguation's time format locale independent (GH-142193) (#142258) 2025-12-04 14:03:36 +00:00
dis_module.py
empty.vbs
exception_hierarchy.txt gh-119521: Remove _IncompleteInputError from the docs (GH-120993) 2024-06-27 09:09:22 +02:00
fork_wait.py gh-102515: Remove unused imports in the Lib/ directory (#102516) 2023-03-08 11:45:38 +00:00
levenshtein_examples.json gh-97008: Add a Python implementation of AttributeError and NameError suggestions (#97022) 2022-10-04 15:31:16 -07:00
list_tests.py [3.14] gh-138584: Increase test coverage for collections.UserList (GH-138590) (#138612) 2025-09-07 10:42:19 +00:00
lock_tests.py [3.14] gh-134322: Fix repr(threading.RLock) (GH-134389) (#134528) 2025-05-22 17:12:21 +00:00
mapping_tests.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
memory_watchdog.py gh-95672: Update memory_watchdog to use test.support.get_pagesize (gh-102365) 2023-03-02 20:10:08 +09:00
mime.types bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378) 2021-07-27 00:11:55 +02:00
mock_socket.py gh-93243: Make smtpd private before porting its users (GH-93246) 2022-08-05 17:41:29 -07:00
mp_fork_bomb.py
mp_preload.py
mp_preload_flush.py [3.14] gh-135335: Simplify preload regression test using __main__ (GH-138686) (#141886) 2025-11-23 19:09:34 -08:00
mp_preload_main.py [3.14] gh-126631: gh-137996: fix pre-loading of __main__ (GH-135295) (#138607) 2025-10-08 00:37:04 +00:00
multibytecodec_support.py [3.14] gh-101828: Fix jisx0213 codecs removing null characters (gh-139340) (gh-140110) 2025-10-14 14:36:05 +00:00
NormalizationTest-3.2.0.txt [3.14] gh-142681: Move NormalizationTest-3.2.0.txt to more safe place. (GH-142935) (GH-142944) 2025-12-18 18:34:05 +01:00
picklecommon.py [3.14] gh-75572: Forward-port test_xpickle from Python 2 to 3 (GH-22452) (GH-143485) 2026-01-06 17:28:56 +00:00
pickletester.py [3.14] gh-143460: Skip infinite recusion tests for infinite stack size (GH-143606) (#143619) 2026-01-09 16:54:49 +00:00
profilee.py gh-102799: use sys.exception() instead of sys.exc_info() in tests (#103293) 2023-04-06 11:08:25 +01:00
pstats.pck
pyclbr_input.py gh-120449: fix `test_pyclbr` introspection for mangled names (GH-120450) 2024-06-18 14:29:43 +00:00
pythoninfo.py [3.14] gh-140702: Log color and GHA env vars in test.pythoninfo (GH-140747) (#140753) 2025-10-29 12:54:04 +00:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py gh-133306: Support \z as a synonym for \Z in regular expressions (GH-133314) 2025-05-03 07:54:33 +00:00
regrtest.py gh-109162: libregrtest: use relative imports (#109250) 2023-09-11 07:02:35 +00:00
relimport.py
seq_tests.py gh-125900: Clean-up logic around immortalization in free-threading (#125901) 2024-10-24 18:09:59 -04:00
signalinterproctester.py gh-110033: Fix signal test_interprocess_signal() (#110035) 2023-09-28 19:12:11 +02:00
ssl_servers.py gh-108303: Move all certificates to Lib/test/certdata/ (#109489) 2023-09-16 18:47:18 +02:00
ssltests.py gh-104773: PEP 594: Remove the nntplib module (#104894) 2023-05-24 21:15:43 +00:00
string_tests.py [3.14] gh-140911: Ensure that UserString.index() and UserString.rindex() accept UserString as argument (GH-140945) (GH-141946) 2025-11-25 13:56:05 +00:00
test___all__.py [3.14] gh-137282: Fix TypeError in tab completion and dir() of concurrent.futures (GH-137214) (#137284) 2025-08-08 18:13:22 +03:00
test__colorize.py [3.14] gh-141570: can_colorize: Expect fileno() to raise OSError, as documented (GH-141716) (#141747) 2025-11-19 14:29:15 +00:00
test__interpchannels.py [3.14] gh-123828: Fix data race in _interpchannels._waiting_release (GH-124107) (GH-139517) 2025-10-07 13:29:37 -04:00
test__interpreters.py [3.14] gh-135855: Raise TypeError When Passing Non-dict Object to _interpreters.set___main___attrs (gh-135900) 2025-06-24 19:19:31 +00:00
test__locale.py gh-90548: Make musl test skips smarter (fixes Alpine errors) (#131313) 2025-03-19 13:05:09 -04:00
test__opcode.py gh-100239: replace BINARY_SUBSCR & family by BINARY_OP with oparg NB_SUBSCR (#129700) 2025-02-07 22:39:54 +00:00
test__osx_support.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_abc.py gh-130095: Mark _py_abc tests as not thread-safe (gh-130131) 2025-02-14 16:21:45 -05:00
test_abstract_numbers.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_android.py [3.14] Make Android streams respect the unbuffered (-u) option (GH-138806) (#139108) 2025-09-29 11:16:25 +03:00
test_annotationlib.py [3.14] gh-143517: Fix an edge case in rewriting stringified starred annotations (GH-143518) (#143540) 2026-01-08 04:07:23 +00:00
test_apple.py gh-126925: Modify how iOS test results are gathered (#127592) 2024-12-09 13:28:57 +08:00
test_argparse.py [3.14] gh-112527: Fix help text for required options in argparse (GH-112528) (GH-142475) 2025-12-09 17:35:49 +00:00
test_array.py [3.14] gh-140474: Fix memory leak in array.array (GH-140478) (GH-140498) 2025-10-23 10:20:16 +00:00
test_asdl_parser.py gh-131421: Fix ASDL tests (#133408) 2025-05-04 23:46:21 +00:00
test_asyncgen.py [3.14] gh-134657: Remove newly added private names from asyncio.__all__ (GH-134665) (#136455) 2025-07-09 08:34:19 +00:00
test_atexit.py [3.14] gh-140080: Add test for executing atexit callbacks under no memory (GH-140161) 2025-10-15 11:25:06 -04:00
test_audit.py gh-135543: Emit sys.remote_exec audit event when sys.remote_exec is called (GH-135544) 2025-06-19 20:51:06 +00:00
test_augassign.py
test_base64.py [3.14] gh-125346: Add more base64 tests (GH-141061) (GH-141130) 2025-11-06 11:03:59 +00:00
test_baseexception.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_bdb.py gh-125422: Don't set the caller's f_trace if it's botframe (#125427) 2024-10-15 10:51:37 -04:00
test_bigaddrspace.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_bigmem.py GH-125174: Make immortality "sticky" (GH-131355) 2025-03-17 17:22:35 +00:00
test_binascii.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_binop.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_bisect.py gh-96538: Fix refleak in _bisectmodule.c (gh-96619) 2022-09-06 19:37:18 -04:00
test_bool.py gh-131586: Avoid refcount contention in some "special" calls (#131588) 2025-03-26 14:38:47 -04:00
test_buffer.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_bufio.py [3.14] gh-133982: Update test_bufio to use self.open (gh-133983) (gh-134428) 2025-05-21 17:13:13 +02:00
test_build_details.py [3.14] gh-136264: Fix `--relative-paths` for PEP 739's build-details.json (GH-138510) (#138638) 2025-09-09 19:15:40 +03:00
test_builtin.py [3.14] gh-140517: fix leak in map_next in strict mode (GH-140543) (#140554) 2025-10-24 22:00:36 +05:30
test_bytes.py [3.14] gh-143003: Fix possible shared buffer overflow in bytearray.extend() (GH-143086) (GH-143447) 2026-01-06 13:48:45 +02:00
test_bz2.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_c_locale_coercion.py [3.14] gh-90548: Allow Alpine/MUSL to pass test_c_locale_coercion. (GH-134454) (#138600) 2025-09-07 10:46:37 +03:00
test_calendar.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_call.py [3.14] GH-139914: Handle stack growth direction on HPPA (GH-140028) (#141404) 2025-11-23 15:55:33 -08:00
test_charmapcodec.py
test_class.py [3.14] gh-136535: Tests: Correct Py_TPFLAGS_MANAGED_DICT in test_class.py (gh-136538) (gh-140532) 2025-10-24 11:45:44 +00:00
test_clinic.py [3.14] gh-139748: fix leaks in AC error paths when using unicode FS-b… (#139789) 2025-10-08 22:16:21 +05:30
test_cmath.py gh-121039: add Floats/ComplexesAreIdenticalMixin to test.support.testcase (GH-121071) 2024-09-08 16:01:54 +03:00
test_cmd.py gh-118761: Add test_lazy_import for more modules (#133057) 2025-05-05 22:46:05 +00:00
test_cmd_line.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_cmd_line_script.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_code.py [3.14] gh-135437: Account For Duplicate Names in _PyCode_SetUnboundVarCounts() (gh-135493) 2025-06-13 23:14:00 +00:00
test_code_module.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_codeccallbacks.py [3.14] gh-133767: Fix use-after-free in the unicode-escape decoder with an error handler (GH-129648) (GH-133942) 2025-05-13 16:25:08 +03:00
test_codecencodings_cn.py
test_codecencodings_hk.py
test_codecencodings_iso2022.py gh-101180: Fix a bug where iso2022_jp_3 and iso2022_jp_2004 codecs read out of bounds (gh-111695) 2023-11-06 19:59:22 +09:00
test_codecencodings_jp.py
test_codecencodings_kr.py
test_codecencodings_tw.py
test_codecmaps_cn.py
test_codecmaps_hk.py
test_codecmaps_jp.py
test_codecmaps_kr.py
test_codecmaps_tw.py
test_codecs.py [3.14] gh-58124: Avoid CP_UTF8 in UnicodeDecodeError (GH-137415) (#137460) 2025-10-07 19:39:31 +02:00
test_codeop.py gh-128016: Improved invalid escape sequence warning message (#128020) 2025-01-15 18:00:54 +01:00
test_collections.py [3.14] gh-143004: Fix possible use-after-free in collections.Counter.update() (GH-143044) (GH-143166) 2025-12-25 13:41:10 +02:00
test_colorsys.py gh-106498: Revert incorrect colorsys.rgb_to_hls change (#106627) 2023-07-11 11:07:20 -04:00
test_compare.py gh-56276: Add tests to test_compare (#3199) 2023-05-20 12:07:40 -04:00
test_compile.py [3.14] gh-141794: Reduce size of compiler stress tests to fix Android warnings (GH-142263) (#142386) 2025-12-08 09:58:21 +02:00
test_compileall.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_compiler_assemble.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_compiler_codegen.py gh-130907: Treat all module-level annotations as conditional (#131550) 2025-04-28 06:10:28 -07:00
test_complex.py gh-128770: raise warnings as errors in test suite - except for test_socket which still logs warnings, and internal test warnings that are now logged (#128973) 2025-03-27 21:06:52 +02:00
test_configparser.py [3.14] gh-136282: Configparser: create unnamed sections via mapping protocol access (GH-136313) (GH-142978) 2026-01-06 16:46:04 +01:00
test_contains.py gh-95144: Improve error message of ... in None (GH-119888) 2024-07-12 16:34:17 +00:00
test_context.py gh-128384: Use a context variable for warnings.catch_warnings (gh-130010) 2025-04-09 16:18:54 -07:00
test_contextlib.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_contextlib_async.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_copy.py [3.14] gh-141757: Comply with pickle protocol in test_reduce_5tuple (GH-141759) (GH-141782) 2025-11-20 09:22:52 +00:00
test_copyreg.py bpo-44712: Replace "type(literal)" with corresponding builtin types (GH-27294) 2022-05-08 17:10:11 +03:00
test_coroutines.py [3.14] gh-134657: Remove newly added private names from asyncio.__all__ (GH-134665) (#136455) 2025-07-09 08:34:19 +00:00
test_cprofile.py [3.14] gh-135429: Fix the argument mismatch in lsprof throw event (GH-135442) (#135446) 2025-06-12 22:13:36 +00:00
test_crossinterp.py [3.14] gh-132775: Support Fallbacks in _PyObject_GetXIData() (gh-134418) 2025-05-21 14:47:56 +00:00
test_csv.py [3.14] gh-138621: Increase test coverage for csv.DictReader and csv.Sniffer (GH-138622) (#141436) 2025-11-12 00:58:15 +00:00
test_curses.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_datetime.py gh-120242: Fix handling of [setUp,tearDown]Class in test_datetime (#120243) 2024-06-08 10:51:09 +03:00
test_dbm.py [3.14] gh-124486: Fix test_whichdb_ndbm in test_dbm on NetBSD (GH-136335) (GH-136378) 2025-07-07 12:57:37 +00:00
test_dbm_dumb.py gh-83383: Always mark the dbm.dumb database as unmodified after open() and sync() (GH-114560) 2024-02-04 17:23:26 +02:00
test_dbm_gnu.py gh-126742: Add _PyErr_SetLocaleString, use it for gdbm & dlerror messages (GH-126746) 2024-12-17 12:12:45 +01:00
test_dbm_ndbm.py gh-107122: Add clear method to dbm.ndbm module (gh-107126) 2023-07-23 14:26:23 +00:00
test_dbm_sqlite3.py [3.14] gh-135386: Fix "unable to open database file" errors on readonly DB (GH-135566) (GH-138056) 2025-10-08 11:41:09 +03:00
test_decimal.py [3.14] gh-87790: support thousands separators for formatting fractional part of Decimal (GH-132202) (#136365) 2025-07-07 19:24:30 +03:00
test_decorators.py gh-120417: Remove unused imports in tests (part 2) (#120630) 2024-06-17 21:05:37 +02:00
test_defaultdict.py [3.14] gh-142495: Make defaultdict keep existed value when racing with __missing__ (GH-142668) (GH-142832) 2025-12-16 15:31:05 +00:00
test_deque.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_descr.py [3.14] gh-127146: Emscripten: more regular stack overflow skips (GH-136708) (#136712) 2025-07-16 17:54:04 +02:00
test_descrtut.py gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_devpoll.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_dict.py [3.14] gh-142218: Fix split table dictionary crash (gh-142229) (gh-142244) 2025-12-04 00:03:18 +00:00
test_dictcomps.py gh-123142: fix too wide source location of GET_ITER/GET_AITER (#123420) 2024-08-28 17:11:52 +01:00
test_dictviews.py GH-130396: Use computed stack limits on linux (GH-130398) 2025-02-25 09:24:48 +00:00
test_difflib.py [3.14] gh-138669: Increase test coverage for difflib (GH-138670) (#138817) 2025-09-15 00:20:32 +03:00
test_difflib_expect.html gh-131204: Fix difflib.HtmlDiff may not use monospaced font (#131221) 2025-03-14 10:45:33 +00:00
test_dis.py [3.14] GH-135171: Fix generator expressions one last time (hopefully) (GH-135225) 2025-06-09 11:04:23 +01:00
test_docxmlrpc.py bpo-47126: Update to canonical PEP URLs specified by PEP 676 (GH-32124) 2022-03-30 12:00:27 +01:00
test_dtrace.py gh-104280: Add test cases for DTrace probes (#107125) 2023-07-31 10:33:37 +02:00
test_dynamic.py gh-131152: Remove unused imports from tests (#131153) 2025-03-13 10:55:23 +01:00
test_dynamicclassattribute.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_eintr.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
test_embed.py [3.14] gh-140011: Delete importdl assertion that prevents importing embedded modules from packages (GH-141605) (#141986) 2025-11-28 23:30:57 -08:00
test_ensurepip.py gh-120417: Remove unused imports in tests (part 2) (#120630) 2024-06-17 21:05:37 +02:00
test_enum.py [3.14] gh-128051: Fix tests if sys.float_repr_style is 'legacy' (GH-135908) (#136025) 2025-06-27 10:26:51 +00:00
test_enumerate.py bpo-46527: allow calling enumerate(iterable=...) again (GH-30904) 2022-01-27 00:46:48 +09:00
test_eof.py gh-127873: Only check sys.flags.ignore_environment for PYTHON* env vars (#127877) 2025-01-21 16:10:08 +00:00
test_epoll.py gh-102795: Fix use of poll in test_epoll's test_control_and_wait (#102796) 2023-05-04 14:38:20 +00:00
test_errno.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_except_star.py gh-130080: implement PEP 765 (#130087) 2025-03-17 20:48:54 +00:00
test_exception_group.py [3.14] GH-130397: remove special-casing of C stack depth for WASI (GH-134469) (GH-134547) 2025-05-22 14:42:23 -07:00
test_exception_hierarchy.py gh-96005: FreeBSD has ENOTCAPABLE, too (GH-96034) 2022-08-17 07:24:53 +02:00
test_exception_variations.py bpo-46458: emit code for else of a try block immediately after the try body (GH-30751) 2022-01-27 13:40:44 +00:00
test_exceptions.py [3.14] gh-140193: Forward port test_exec_set_nomemory_hang from 3.13 (GH-140187) (#141420) 2025-11-11 19:53:31 +00:00
test_extcall.py gh-96751: Remove dead code from CALL_FUNCTION_EX opcode (GH-96752) 2022-09-15 10:33:13 +01:00
test_external_inspection.py [3.14] gh-136476: Show the full stack in get_async_stack_trace in _remote_debugging (GH-136483) (#136490) 2025-07-10 00:57:40 +01:00
test_faulthandler.py gh-127604: Add C stack dumps to faulthandler (#128159) 2025-04-21 20:48:02 +01:00
test_fcntl.py [3.14] gh-124621: Emscripten: Support pyrepl in browser (GH-136931) (GH-136988) 2025-07-22 15:04:11 +02:00
test_file.py gh-117151: IO performance improvement, increase io.DEFAULT_BUFFER_SIZE to 128k (GH-118144) 2025-03-07 11:36:12 -08:00
test_file_eintr.py gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_filecmp.py gh-122400: Handle ValueError in filecmp (GH-122401) 2024-07-30 08:50:30 +00:00
test_fileinput.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_fileio.py [3.14] gh-133982: Use implementation-specific open in test_fileio.OtherFileTests (GH-135364) (GH-136148) 2025-06-30 22:23:34 +00:00
test_fileutils.py bpo-46425: fix direct invocation of test_fileutils and test_zoneinfo (GH-30792) 2022-01-22 18:05:43 +02:00
test_finalization.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
test_float.py [3.14] gh-143006: Fix and optimize mixed comparison of float and int (GH-143084) (GH-143623) 2026-01-09 17:32:23 +00:00
test_flufl.py gh-125331: Allow the parser to activate future imports on the fly (#125482) 2025-02-14 04:54:56 +00:00
test_fnmatch.py gh-133306: Use \z instead of \Z in fnmatch.translate() and glob.translate() (GH-133338) 2025-05-03 17:58:21 +03:00
test_fork1.py bpo-40280: Add requires_fork test helper (GH-30622) 2022-01-16 22:52:43 +01:00
test_format.py [3.14] gh-128051: Fix tests if sys.float_repr_style is 'legacy' (GH-135908) (#136025) 2025-06-27 10:26:51 +00:00
test_fractions.py [3.14] gh-87790: support thousands separators for formatting fractional part of Fraction (GH-132204) (#136364) 2025-07-07 19:24:24 +03:00
test_frame.py gh-130704: Strength reduce LOAD_FAST{_LOAD_FAST} (#130708) 2025-04-01 10:18:42 -07:00
test_frozen.py bpo-21736: Set __file__ on frozen stdlib modules. (gh-28656) 2021-10-14 15:32:18 -06:00
test_fstring.py [3.14] gh-139516: Fix lambda colon start format spec in f-string in tokenizer (GH-139657) (#139701) 2025-10-07 18:35:17 +01:00
test_ftplib.py gh-131888: fix ResourceWarning in test_ftplib (#131889) 2025-04-02 14:30:19 +02:00
test_funcattrs.py gh-58211: Add tests for the __self__ attribute of builtins functions (#113575) 2025-04-12 12:02:43 +00:00
test_functools.py [3.14] gh-143460: Skip infinite recusion tests for infinite stack size (GH-143606) (#143619) 2026-01-09 16:54:49 +00:00
test_gc.py [3.14] gh-142531: Fix free-threaded GC performance regression (gh-142562) (gh-142617) 2025-12-12 14:30:20 -08:00
test_generated_cases.py [3.14] gh-138264: Fix gcc 14 compiler warnings (GH-138265) (GH-138426) 2025-10-07 22:26:05 +02:00
test_generator_stop.py
test_generators.py [3.14] GH-100964: Fix reference cycle in exhausted generator frames (GH-141112) (#142902) 2025-12-17 19:48:18 +00:00
test_genericalias.py [3.14] gh-105487: Fix __dir__ entries of GenericAlias (GH-138578) (GH-138629) 2025-10-07 23:12:13 +02:00
test_genericclass.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
test_genericpath.py [3.14] gh-136065: Fix quadratic complexity in os.path.expandvars() (GH-134952) (GH-140844) 2025-10-31 17:43:23 +01:00
test_genexps.py [3.14] GH-135171: Fix generator expressions one last time (hopefully) (GH-135225) 2025-06-09 11:04:23 +01:00
test_getopt.py gh-131277: allow EnvironmentVarGuard to unset more than one environment variable at once (#131280) 2025-03-16 14:09:33 +01:00
test_getpass.py [3.14] gh-138514: getpass: restrict echo_char to a single ASCII character (GH-138591) (#138988) 2025-09-17 17:20:45 +03:00
test_getpath.py [3.14] gh-135773: have pyvenv.cfg without home key anchor a venv and deduce home (GH-135831) (#136287) 2025-07-05 00:36:12 +10:00
test_gettext.py [3.14] gh-130655: gettext: Add fallback testcase (GH-136857) (#136862) 2025-07-20 12:32:58 +00:00
test_glob.py gh-133306: Use \z instead of \Z in fnmatch.translate() and glob.translate() (GH-133338) 2025-05-03 17:58:21 +03:00
test_global.py gh-58749: Remove incorrect language spec claims about the global statement (GH-126523) 2024-11-12 10:11:40 +10:00
test_grammar.py [3.14] gh-138372: Fix SyntaxWarning for erroneous t-string subscription (GH-138375) (#138392) 2025-09-02 17:39:08 +00:00
test_graphlib.py gh-130914: Make graphlib.TopologicalSorter.prepare() idempotent (#131317) 2025-03-18 16:28:00 -05:00
test_grp.py gh-95395: Add argument type error test (GH-95412) 2022-08-06 18:52:53 +02:00
test_gzip.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_hash.py bpo-29410: Change the default hash algorithm to SipHash13. (GH-28752) 2021-10-10 17:29:46 +09:00
test_hashlib.py [3.14] gh-141907: Better handle support for SHA3 for test_hashlib (GH-141908) (#141918) 2025-11-25 02:20:35 +01:00
test_heapq.py gh-110067: Make max heap methods public and add missing ones (GH-130725) 2025-05-05 17:52:49 +02:00
test_hmac.py [3.14] gh-142451: correctly copy HMAC attributes in HMAC.copy() (GH-142510) (#142698) 2025-12-14 09:27:03 +00:00
test_html.py
test_htmlparser.py [3.14] gh-140875: Fix handling of unclosed charrefs before EOF in HTMLParser (GH-140904) (GH-141745) 2025-11-19 12:43:24 +00:00
test_http_cookiejar.py [3.14] gh-135120: Add test.support.subTests() (GH-135121) (GH-135208) 2025-06-06 13:03:28 +00:00
test_http_cookies.py gh-71339: Use new assertion methods in the http tests (GH-129058) 2025-04-14 09:24:54 +03:00
test_httplib.py [3.14] gh-119451: Fix a potential denial of service in http.client (GH-119454) (#142138) 2025-12-01 20:34:09 +02:00
test_httpservers.py [3.14] gh-119452: Fix a potential virtual memory allocation denial of service in http.server (GH-142216) 2025-12-05 16:20:23 +02:00
test_idle.py gh-90791: Enable test___all__ on ASAN build (#108286) 2023-08-22 15:52:32 +02:00
test_imaplib.py [3.14] gh-78319: Fix implementation of IMAP APPEND UTF8 (GH-9436) (GH-139406) 2025-10-07 22:12:30 +02:00
test_index.py
test_int.py [3.14] gh-142554: avoid divmod crashes due to bad _pylong.int_divmod (GH-142673) (#142696) 2025-12-14 09:04:37 +00:00
test_int_literal.py
test_io.py [3.14] gh-142594: fix by property calls io.TextIOWrapper.detach (GH-142706) (GH-142755) 2025-12-16 10:55:25 +01:00
test_ioctl.py [3.14] gh-134744: Fix fcntl error handling (#134748) (#134795) 2025-05-27 16:13:20 +00:00
test_ipaddress.py [3.14] gh-141497: Make ipaddress.IP{v4,v6}Network.hosts() always returning an iterator (GH-141547) (GH-141673) 2025-11-17 17:56:55 +00:00
test_isinstance.py [3.14] gh-143460: Skip infinite recusion tests for infinite stack size (GH-143606) (#143619) 2026-01-09 16:54:49 +00:00
test_iter.py [3.14] Doc: fix duplicated words (GH-136086) (#136108) 2025-06-29 18:45:26 -04:00
test_iterlen.py
test_itertools.py gh-93096: Load doctests in test_itertools (#131133) 2025-03-12 08:40:59 +01:00
test_keyword.py gh-103763: Implement PEP 695 (#103764) 2023-05-15 20:36:23 -07:00
test_keywordonlyarg.py Enable ruff on several more files in Lib/test (#110929) 2023-10-16 15:57:01 +01:00
test_kqueue.py gh-110395: test: assert after the child dies. (#111816) 2023-11-07 06:05:56 +00:00
test_largefile.py GH-120754: Add more tests around seek + readall (#122103) 2024-07-23 23:14:35 -07:00
test_launcher.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_linecache.py gh-60115: Support frozen modules for linecache.getline() (#131638) 2025-04-02 19:50:01 -04:00
test_list.py gh-132713: Fix repr(list) race condition (#132801) 2025-04-22 22:09:35 +02:00
test_listcomps.py [3.14] Doc: fix duplicated words (GH-136086) (#136108) 2025-06-29 18:45:26 -04:00
test_lltrace.py GH-99005: More intrinsics (GH-100774) 2023-01-06 14:47:57 +00:00
test_locale.py [3.14] gh-130567: Enable previously skipped locale tests on FreeBSD and macOS (GH-138652) (GH-139421) 2025-10-07 22:11:34 +02:00
test_logging.py [3.14] gh-138162: Fix logging.LoggerAdapter with merge_extra=True and without the extra argument (GH-140511) (GH-140784) 2025-10-30 11:19:27 +00:00
test_long.py [3.14] gh-71810: Fix corner case (length==0) for int.to_bytes() (GH-138739) (#138782) 2025-09-12 16:22:43 +03:00
test_longexp.py
test_lzma.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_mailbox.py gh-71339: Use new assertion methods in the email tests (GH-129055) 2025-04-14 09:25:58 +03:00
test_marshal.py [3.14] gh-141370: Fix undefined behavior when using Py_ABS() (GH-141548) (GH-142301) 2025-12-12 15:11:43 +00:00
test_math.py [3.14] gh-132876: workaround broken ldexp() on Windows 10 (GH-133135) (#134684) 2025-05-25 22:23:45 -05:00
test_math_property.py gh-94906: Support multiple steps in math.nextafter (#103881) 2023-05-19 21:03:49 +01:00
test_memoryio.py [3.14] gh-143378: Fix use-after-free when BytesIO is concurrently mutated during write operations (GH-143408) (GH-143599) 2026-01-09 12:16:51 +00:00
test_memoryview.py [3.14] gh-143195: fix UAF in {bytearray,memoryview}.hex(sep) via re-entrant sep.__len__ (GH-143209) (#143219) 2025-12-27 13:57:41 +00:00
test_metaclass.py gh-131290: ensure that test files can be executed as standalone scripts (#131371) 2025-04-12 07:46:19 +00:00
test_mimetypes.py [3.14] gh-136507: Fix mimetypes CLI to handle multiple file parameters (GH-136508) (GH-138140) 2025-10-07 19:59:52 +02:00
test_minidom.py [3.14] gh-142145: Avoid timing measurements in quadratic behavior test (gh-143105) (#143139) 2025-12-24 13:25:43 +00:00
test_mmap.py [3.14] gh-116738: make mmap module thread-safe (GH-139237) (#139825) 2025-10-09 20:19:03 +05:30
test_modulefinder.py gh-93616: Fix env changed issue in test_modulefinder (GH-93617) 2022-06-09 08:32:35 +02:00
test_monitoring.py [3.14] gh-140373: Correctly emit PY_UNWIND event when generator is closed (GH-140767) (#140816) 2025-11-30 14:35:14 +02:00
test_msvcrt.py Fix typos (#123775) 2024-09-09 14:58:26 +02:00
test_multibytecodec.py gh-133036: Deprecate codecs.open (#133038) 2025-04-30 10:11:09 +09:00
test_multiprocessing_main_handling.py Tests call sleeping_retry() with SHORT_TIMEOUT (#93870) 2022-06-15 18:49:14 +02:00
test_named_expressions.py gh-100746: Improve test_named_expressions.py (#116713) 2024-03-13 21:12:40 +03:00
test_netrc.py [3.14] gh-135815: skip netrc security checks if os.getuid is missing (GH-135816) (#135825) 2025-06-22 20:12:57 +00:00
test_ntpath.py [3.14] gh-136065: Fix quadratic complexity in os.path.expandvars() (GH-134952) (GH-140844) 2025-10-31 17:43:23 +01:00
test_nturl2path.py GH-125866: Deprecate nturl2path module (#131432) 2025-03-19 19:33:01 +00:00
test_numeric_tower.py gh-101773: Optimize creation of Fractions in private methods (#101780) 2023-02-27 18:53:22 +00:00
test_opcache.py [3.14] gh-139525: Don't specialize functions which have a modified vectorcall (GH-139524) (#139709) 2025-10-08 09:13:34 -07:00
test_opcodes.py gh-119180: PEP 649 compiler changes (#119361) 2024-06-11 13:06:49 +00:00
test_openpty.py
test_operator.py gh-133167: Fix compilation process with --enable-optimizations and --without-docstrings (#133187) 2025-04-30 16:41:50 +03:00
test_optimizer.py gh-118335: Configure Tier 2 interpreter at build time (#118339) 2024-04-30 18:26:34 -07:00
test_optparse.py [3.14] gh-128051: Fix tests if sys.float_repr_style is 'legacy' (GH-135908) (#136025) 2025-06-27 10:26:51 +00:00
test_ordered_dict.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_os.py [3.14] gh-143309: fix test_execve_env_concurrent_mutation_with_fspath_posix buildbot failure (GH-143415) (#143419) 2026-01-05 00:11:59 +01:00
test_osx_env.py
test_patma.py GH-130396: Use computed stack limits on linux (GH-130398) 2025-02-25 09:24:48 +00:00
test_pdb.py [3.14] gh-142836: Avoid /proc fd pipes on Solaris (GH-142853) (#142854) 2025-12-17 08:20:34 -05:00
test_peepholer.py [3.14] gh-134280: Disable constant folding for ~ with a boolean argument (GH-134982) (GH-136185) 2025-07-02 11:28:09 +03:00
test_pep646_syntax.py gh-89392: Fix running test_pep646_syntax as script (GH-108875) 2023-09-04 15:24:03 +03:00
test_perf_profiler.py [3.14] gh-141612: improve test_trampoline_works_with_forks coverage (GH-141613) (#141824) 2025-11-22 10:38:52 +01:00
test_perfmaps.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
test_pickle.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_picklebuffer.py
test_pickletools.py [3.14] gh-139646: fix typo in pickletools error message (GH-139647) (GH-139649) 2025-10-07 20:19:01 +02:00
test_pkg.py gh-132396: Resolve 'redefinition of unused name' errors in `Lib/test/` (#132397) 2025-04-18 18:14:54 +01:00
test_pkgutil.py gh-131152: Remove unused imports from tests (part 2) (#131154) 2025-03-13 10:57:40 +01:00
test_platform.py [3.14] gh-141600: Fix musl version detection on Void Linux (GH-141850) 2025-11-22 18:47:47 +00:00
test_plistlib.py [3.14] gh-119342: Fix a potential denial of service in plistlib (GH-119343) (GH-142143) 2025-12-01 15:54:58 +00:00
test_poll.py gh-116303: Skip test module dependent tests if test modules are unavailable (#117341) 2024-04-03 15:11:36 +02:00
test_popen.py gh-131234: Improve test_popen with more asserts (#131235) 2025-03-14 11:38:31 +00:00
test_poplib.py gh-71339: Use new assertion methods in the email tests (GH-129055) 2025-04-14 09:25:58 +03:00
test_positional_only_arg.py gh-119180: PEP 649 compiler changes (#119361) 2024-06-11 13:06:49 +00:00
test_posix.py [3.14] gh-140634: Fix a reference counting bug in os.sched_param.__reduce__() (GH-140667) (GH-140685) 2025-10-27 20:08:57 +00:00
test_posixpath.py [3.14] gh-135120: Add test.support.subTests() (GH-135121) (GH-135208) 2025-06-06 13:03:28 +00:00
test_pow.py GH-102341: Improve the test function for pow (#102342) 2023-03-05 12:31:26 -05:00
test_pprint.py [3.14] gh-128051: Fix tests if sys.float_repr_style is 'legacy' (GH-135908) (#136025) 2025-06-27 10:26:51 +00:00
test_print.py gh-130163: Fix crashes related to PySys_GetObject() (GH-130503) 2025-02-25 23:04:27 +02:00
test_profile.py gh-69990: Make Profile.print_stats support sorting by multiple values (GH-104590) 2024-02-16 12:03:46 +00:00
test_property.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_pstats.py gh-118761: Add test_lazy_import for more modules (#133057) 2025-05-05 22:46:05 +00:00
test_pty.py [3.14] gh-140482: Avoid changing terminal settings in test_pty (gh-142202) (gh-142239) 2025-12-05 11:18:40 -05:00
test_pulldom.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_pwd.py gh-95376: Add test for names containing null (#GH-5394) 2022-08-06 18:53:19 +02:00
test_py_compile.py Fix test_py_compile with -O mode (GH-115345) 2024-02-19 19:02:51 +02:00
test_pyclbr.py [3.14] gh-138860: Lazy import rlcompleter in pdb to avoid deadlock in subprocess (GH-139185) (GH-139305) (GH-139280) 2025-10-10 16:23:52 +02:00
test_pyexpat.py [3.14] gh-90949: add Expat API to prevent XML deadly allocations (CVE-2025-59375) (GH-139234) (#139359) 2025-11-02 09:33:36 +00:00
test_queue.py [3.14] gh-133454: Mark test_queue tests with many threads as bigmem (gh-134575) (GH-135046) 2025-06-02 20:50:43 +00:00
test_quopri.py bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615) 2022-01-25 08:09:06 +01:00
test_raise.py [3.14] gh-140530: fix a reference leak in an error path for raise exc from cause (GH-140908) (#141282) 2025-11-09 17:04:26 +01:00
test_random.py [3.14] gh-135376: Fix and improve test_random (GH-135377) (GH-135680) 2025-06-18 15:51:47 +00:00
test_range.py [3.14] GH-141312: Allow only integers to longrangeiter_setstate state (GH-141317) (GH-141559) 2025-11-15 21:30:25 +02:00
test_re.py [3.14] Revert "gh-140797: Forbid capturing groups in re.Scanner lexicon patterns (GH-140944) (GH-140982)" (#142309) 2025-12-05 16:45:15 +00:00
test_readline.py [3.14] gh-133711: Fix test_readline.test_nonascii() for UTF-8 Mode (GH-134841) (#134851) 2025-05-28 16:10:37 +00:00
test_regrtest.py [3.14] gh-143553: Add support for parametrized resources in regrtests (GH-143554) (GH-143555) 2026-01-08 18:12:33 +02:00
test_remote_pdb.py [3.14] Improve permission error messages in pdb and asyncio.tools (GH-134290) (#138826) 2025-09-12 12:20:20 +00:00
test_repl.py [3.14] gh-140648: Make asyncio REPL respect the -I flag (isolated mode) (GH-143045) (#143383) 2026-01-03 08:29:05 +00:00
test_reprlib.py [3.14] gh-128051: Fix tests if sys.float_repr_style is 'legacy' (GH-135908) (#136025) 2025-06-27 10:26:51 +00:00
test_resource.py [3.14] gh-137044: Support large limit values in getrlimit() and setrlimit() (GH-137338) (#137506) 2025-10-07 20:43:12 +02:00
test_richcmp.py gh-126146: Remove `__cmp__` method from tests (#126147) 2024-10-30 00:47:26 +02:00
test_rlcompleter.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_robotparser.py [3.14] gh-88375, gh-111788: Fix parsing errors and normalization in robotparser (GH-138502) (GH-138548) 2025-10-08 14:22:44 +02:00
test_runpy.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_sax.py gh-133036: Deprecate codecs.open (#133038) 2025-04-30 10:11:09 +09:00
test_sched.py gh-90808: add more examples to test_sched.test_priority (#31144) 2022-09-20 18:34:13 -07:00
test_scope.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_script_helper.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_secrets.py
test_select.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_selectors.py gh-114099: Add test exclusions to support running the test suite on iOS (#114889) 2024-02-05 01:04:57 +01:00
test_set.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_setcomps.py gh-123142: fix too wide source location of GET_ITER/GET_AITER (#123420) 2024-08-28 17:11:52 +01:00
test_shelve.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_shlex.py [3.14] gh-138804: Check type in shlex.quote (GH-138809) (#138846) 2025-09-13 21:29:50 +03:00
test_shutil.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_signal.py gh-127146: Update test skips for Emscripten 4.0.2 (#129474) 2025-03-17 06:02:27 +08:00
test_site.py [3.14] gh-140170: Fix test_site with -s flag (GH-140179) (#140198) 2025-10-16 12:31:59 +02:00
test_slice.py GH-84783: Make the slice object hashable (GH-101264) 2023-02-18 18:22:02 -06:00
test_smtplib.py [3.14] gh-136134: smtplib: fix CRAM-MD5 on FIPS-only environments (GH-136623) (#138086) 2025-09-04 16:07:59 +03:00
test_smtpnet.py Test: Get the smtp test server using os.getenv() (#117979) 2024-04-17 15:31:48 +02:00
test_socket.py [3.14] gh-100218: correctly set errno when socket.if_{nametoindex,indextoname} raise OSError (GH-140905) (#141284) 2025-11-09 13:11:43 +00:00
test_socketserver.py [3.14] gh-140702: Add test skip for Unix Datagram tests on iOS when on Github Actions (GH-140740) (#140742) 2025-10-29 09:01:39 +00:00
test_sort.py GH-116554: Relax list.sort()'s notion of "descending" runs (#116578) 2024-03-12 19:59:42 -05:00
test_source_encoding.py [3.14] gh-63161: Fix test_source_encoding when stderr is StringIO (GH-140361) 2025-10-20 20:05:42 +03:00
test_ssl.py [3.14] Docs: fix RFC index reference for TLS 1.3 (GH-142262) (#142340) 2025-12-06 14:51:08 +00:00
test_stable_abi_ctypes.py gh-132639: Adds PyLong_AsNativeBytes, PyLong_FromNativeBytes and PyLong_FromUnsignedNativeBytes to the limited API (GH-132640) 2025-04-21 15:59:03 +01:00
test_startfile.py
test_stat.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_statistics.py [3.14] gh-140938: Raise ValueError for infinite inputs to stdev/pstdev (GH-141531) (#141575) 2025-11-14 18:58:40 -08:00
test_str.py [3.14] gh-128051: Fix tests if sys.float_repr_style is 'legacy' (GH-135908) (#136025) 2025-06-27 10:26:51 +00:00
test_strftime.py [3.14] gh-133940: test_strftime incorrectly calculates expected week (GH-134281) (#134301) 2025-05-20 10:11:39 +00:00
test_string_literals.py gh-131649: fix test_string_literals SyntaxWarning (#131650) 2025-03-26 15:01:18 +01:00
test_stringprep.py
test_strptime.py [3.14] gh-139624: Skip problematic locales on AIX in test_date_locale2 (GH-139625) (GH-139644) 2025-10-07 20:02:42 +02:00
test_strtod.py gh-133306: Use \z instead of \Z in regular expressions in the stdlib (GH-133337) 2025-05-03 17:58:49 +03:00
test_struct.py [3.14] gh-143429: Use compile-time NaN encoding detection for test_struct (GH-143432) (#143595) 2026-01-09 12:32:49 +01:00
test_structseq.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_subclassinit.py Enable ruff on several more files in Lib/test (#110929) 2023-10-16 15:57:01 +01:00
test_subprocess.py [3.14] gh-74389: gh-70560: subprocess.Popen.communicate() now ignores stdin.flush error when closed (GH-142061) (#142064) 2025-11-28 23:03:05 -08:00
test_sundry.py gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_super.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_support.py [3.14] gh-143460: Skip infinite recusion tests for infinite stack size (GH-143606) (#143619) 2026-01-09 16:54:49 +00:00
test_symtable.py [3.14] gh-139748: fix leaks in AC error paths when using unicode FS-b… (#139789) 2025-10-08 22:16:21 +05:30
test_syntax.py [3.14] gh-138944: Fix SyntaxError message for invalid syntax following valid import-as statement (GH-138945) (#140646) 2025-10-31 11:26:40 +01:00
test_sys.py [3.14] gh-143547: Fix PyErr_FormatUnraisable() fallback (#143557) (#143603) 2026-01-09 16:10:50 +01:00
test_sys_setprofile.py [3.14] gh-140373: Correctly emit PY_UNWIND event when generator is closed (GH-140767) (#140816) 2025-11-30 14:35:14 +02:00
test_sys_settrace.py gh-130080: fix warnings in tests (#131400) 2025-03-18 12:33:46 +00:00
test_sysconfig.py [3.14] Synced docs and docstring for sysconfig.get_platform (GH-135530) (#138976) 2025-10-04 17:55:25 +03:00
test_syslog.py gh-99127: Allow some features of syslog to the main interpreter only (gh-99128) 2022-11-30 07:58:20 +09:00
test_tabnanny.py gh-120495: Fix incorrect exception handling in Tab Nanny (#120498) 2024-06-15 05:04:14 -06:00
test_tarfile.py [3.14] gh-81325: Support path-like objects with streaming TarFile (GH-137188) (#137365) 2025-10-07 20:40:42 +02:00
test_tcl.py [3.14] gh-143310: fix crash in Tcl object conversion with concurrent mutations (GH-143321) (#143343) 2026-01-02 10:17:13 +00:00
test_tempfile.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_termios.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_textwrap.py [3.14] gh-139065: Fix trailing space before long word in textwrap (GH-139070) (GH-139902) 2025-10-10 13:54:46 +00:00
test_thread.py [3.14] gh-143191: Use _PyOS_MIN_STACK_SIZE in _thread.stack_size() (GH-143601) (#143611) 2026-01-09 15:34:39 +00:00
test_thread_local_bytecode.py gh-131152: Remove unused imports from tests (part 2) (#131154) 2025-03-13 10:57:40 +01:00
test_threadedtempfile.py [3.14] gh-133454: Mark tests with many threads that use much memory as bigmem (GH-133456) (GH-133663) 2025-05-08 13:24:38 +00:00
test_threading.py [3.14] gh-140067: Fix memory leak in sub-interpreter creation (GH-140111) (#140118) 2025-10-18 19:40:43 +05:30
test_threading_local.py gh-127190: Fix local_setattro() error handling (#127366) 2024-11-28 17:35:48 +01:00
test_threadsignals.py gh-71052: Use raise_signal in ThreadSignals.test_signals (#116423) 2024-03-11 21:39:17 +01:00
test_time.py [3.14] gh-143528: Fix test_time.test_thread_time() (GH-143558) (#143559) 2026-01-08 13:31:18 +00:00
test_timeit.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_timeout.py gh-132535: Fix resource warnings in test_timeout (GH-132572) 2025-04-16 10:20:07 +03:00
test_tokenize.py [3.14] gh-140576: Fixed crash produced by lexer in case of dedented zero byte (GH-140583) (#140757) 2025-10-29 13:54:37 +00:00
test_trace.py gh-129269: Exclude everything in sys.path in test_coverage_ignore (gh-130133) 2025-02-20 10:13:44 -05:00
test_traceback.py [3.14] gh-142737: Handle lost io.open in _Py_FindSourceFile (GH-142747) (GH-142773) 2025-12-15 23:30:00 +00:00
test_tracemalloc.py gh-131566: Skip test_tracemalloc_track_race under TSAN (gh-131567) 2025-03-22 11:46:36 -04:00
test_tstring.py [3.14] gh-132661: Disallow Template/str concatenation after PEP 750 spec update (#135996) (#136901) 2025-07-21 17:34:54 +02:00
test_ttk_textonly.py gh-68166: Add support of "vsapi" in ttk.Style.element_create() (GH-111393) 2023-11-27 20:57:33 +02:00
test_tty.py gh-114328: tty cbreak mode should not alter ICRNL (#114335) 2024-01-21 15:25:52 -08:00
test_tuple.py [3.14] gh-139951: Tests on tuple GC tracking (GH-140575) (#140701) 2025-10-29 07:17:49 +00:00
test_turtle.py [3.14] gh-138772: Add tests for Turtle.dot() signature (GH-138773) (GH-139326) 2025-10-07 20:24:59 +02:00
test_type_aliases.py gh-126085: Add tp_iter to TypeAliasType to allow star unpacking (#127981) 2025-03-04 11:34:59 -08:00
test_type_annotations.py [3.14] gh-138349: Fix crash when combining module-level annotation and listcomp (#138363) (#138749) 2025-09-11 08:43:57 +03:00
test_type_cache.py gh-129027: Raise DeprecationWarning for sys._clear_type_cache (#129043) 2025-04-25 15:01:48 +03:00
test_type_comments.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_type_params.py gh-128404: remove asyncio from test_type_params (#128436) 2025-01-03 07:50:24 +00:00
test_typechecks.py
test_types.py [3.14] gh-78465: Fix error message for cls.__new__(cls, ...) where cls is not instantiable (GH-135981) (GH-136030) 2025-06-27 12:01:48 +00:00
test_typing.py [3.14] gh-140348: Fix using | on unusual objects plus Unions (GH-140383) (#140948) 2025-11-03 15:16:03 +00:00
test_ucn.py gh-131807: fix ResourceWarning in test_ucn.py (#131808) 2025-03-28 15:55:40 +01:00
test_unary.py gh-99688: Fix outdated tests in test_unary (#99712) 2022-12-11 18:44:29 -05:00
test_unicode_file.py gh-90473: Misc test fixes for WASI (GH-93218) 2022-05-25 15:57:26 +02:00
test_unicode_file_functions.py gh-127146: Emscripten clean up test suite (#127984) 2024-12-17 07:48:23 +00:00
test_unicode_identifiers.py gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_unicodedata.py [3.14] gh-142681: Move NormalizationTest-3.2.0.txt to more safe place. (GH-142935) (GH-142944) 2025-12-18 18:34:05 +01:00
test_univnewlines.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_unpack.py gh-122239: Add actual count in unbalanced unpacking error message when possible (#122244) 2024-09-10 16:07:30 +01:00
test_unpack_ex.py gh-94808: Add test coverage for "starred kind" in _PyPegen_set_expr_context (GH-119222) 2024-05-20 20:29:17 +00:00
test_unparse.py [3.14] gh-138774: use value to ast.unparse code when str is None in ast.Interpolation (GH-139415) (#140503) 2025-10-23 14:39:02 +00:00
test_urllib.py [3.14] GH-137059: url2pathname(): fix support for drive letter in netloc (GH-137060) (#137144) 2025-07-28 22:43:15 +03:00
test_urllib2.py gh-127591: Fix altering environment in test_urllib2 (unsetting no_proxy) (GH-132584) 2025-04-16 13:05:54 +03:00
test_urllib2_localnet.py gh-71339: Use new assertion methods in the urllib tests (GH-129056) 2025-04-14 09:24:41 +03:00
test_urllib2net.py [3.14] gh-140691: urllib.request: Close FTP control socket if data socket can't connect (GH-140835) (GH-141555) 2025-11-14 17:27:33 +01:00
test_urllib_response.py gh-128734: Fix ResourceWarning in urllib tests (GH-128735) 2025-01-12 12:53:17 +02:00
test_urllibnet.py gh-71339: Use new assertion methods in the urllib tests (GH-129056) 2025-04-14 09:24:41 +03:00
test_urlparse.py [3.14] gh-135120: Add test.support.subTests() (GH-135121) (GH-135208) 2025-06-06 13:03:28 +00:00
test_userdict.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_userlist.py gh-131152: Remove unused imports from tests (part 2) (#131154) 2025-03-13 10:57:40 +01:00
test_userstring.py gh-81005: Refactor str tests to reflect that str and unicode are merged in Python 3 (#13172) 2023-05-23 17:11:29 +03:00
test_utf8_mode.py Add support.MS_WINDOWS constant (#110446) 2023-10-06 02:37:28 +02:00
test_utf8source.py gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_uuid.py [3.14] gh-89083: Add CLI tests for UUIDv{6,7,8} (GH-136548) (#136576) 2025-07-12 12:33:53 +00:00
test_venv.py [3.14] gh-139308: Skip test_special_chars_csh on NetBSD due to csh variable expansion issue (GH-139341) (GH-139559) 2025-10-07 20:20:57 +02:00
test_wait3.py Call busy_retry() and sleeping_retry() with error=True (#93871) 2022-06-16 13:44:58 +02:00
test_wait4.py Call busy_retry() and sleeping_retry() with error=True (#93871) 2022-06-16 13:44:58 +02:00
test_wave.py [3.14] gh-136523: Fix wave.Wave_write emitting an unraisable when open raises (GH-136529) (GH-136606) 2025-07-16 07:26:52 +00:00
test_weakref.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_weakset.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_webbrowser.py gh-131254: ensure that BROWSER is not set for test_webbrowser on macOS (#131276) 2025-03-16 15:39:30 +01:00
test_winapi.py gh-120417: Remove unused imports in tests (part 4) (#120632) 2024-06-17 17:35:20 +02:00
test_winconsoleio.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_winreg.py [3.14] gh-142282 Fix winreg.QueryValueEx() under race condition (GH-142283) (GH-142453) 2025-12-09 12:33:35 +00:00
test_winsound.py gh-131453: Add additional constants to winsound module (GH-131454) 2025-03-20 16:35:52 +00:00
test_with.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_wmi.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_wsgiref.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_xml_dom_minicompat.py
test_xml_dom_xmlbuilder.py gh-128302: Fix bugs in xml.dom.xmlbuilder (GH-128284) 2025-01-07 12:40:41 +02:00
test_xml_etree.py [3.14] gh-143200: fix UAFs in Element.__{set,get}item__ when the element is concurrently mutated (GH-143226) (#143273) 2025-12-29 17:57:54 +00:00
test_xml_etree_c.py [3.14] gh-127146: Emscripten: more regular stack overflow skips (GH-136708) (#136712) 2025-07-16 17:54:04 +02:00
test_xmlrpc.py gh-120417: Add #noqa: F401 to tests (#120627) 2024-06-18 15:51:47 +00:00
test_xpickle.py [3.14] gh-143553: Add support for parametrized resources in regrtests (GH-143554) (GH-143555) 2026-01-08 18:12:33 +02:00
test_xxlimited.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_xxtestfuzz.py
test_yield_from.py gh-132396: Resolve 'redefinition of unused name' errors in `Lib/test/` (#132397) 2025-04-18 18:14:54 +01:00
test_zipapp.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_zipfile64.py gh-102515: Remove unused imports in the Lib/ directory (#102516) 2023-03-08 11:45:38 +00:00
test_zipimport.py [3.14] gh-71339: Use new assertion methods in tests (GH-129046) (GH-134498) 2025-05-22 10:42:50 +00:00
test_zipimport_support.py gh-117294: Report DocTestCase as skipped if all examples in the doctest are skipped (GH-117297) 2024-03-28 21:59:12 +02:00
test_zlib.py gh-125522: Remove bare except in test_zlib.test_flushes (gh-126321) 2024-11-02 08:27:07 +00:00
test_zstd.py [3.14] gh-136394: Fix race condition in test_zstd (GH-136432) (GH-136506) 2025-07-10 09:13:34 -04:00
testcodec.py
tf_inherit_check.py
win_console_handler.py
xmltests.py
xpickle_worker.py [3.14] gh-75572: Fix test_xpickle and disable it by default (GH-143503) (GH-143505) 2026-01-07 09:21:45 +02:00