cpython/Lib/test
Tim Peters bf121d6a69
GH-116554: Relax list.sort()'s notion of "descending" runs (#116578)
* GH-116554: Relax list.sort()'s notion of "descending" run

Rewrote `count_run()` so that sub-runs of equal elements no longer end a descending run. Both ascending and descending runs can have arbitrarily many sub-runs of arbitrarily many equal elements now. This is tricky, because we only use ``<`` comparisons, so checking for equality doesn't come "for free". Surprisingly, it turned out there's a very cheap (one comparison) way to determine whether an ascending run consisted of all-equal elements. That sealed the deal.

In addition, after a descending run is reversed in-place, we now go on to see whether it can be extended by an ascending run that just happens to be adjacent. This succeeds in finding at least one additional element to append about half the time, and so appears to more than repay its cost (the savings come from getting to skip a binary search, when a short run is artificially forced to length MIINRUN later, for each new element `count_run()` can add to the initial run).

While these have been in the back of my mind for years, a question on StackOverflow pushed it to action:

https://stackoverflow.com/questions/78108792/

They were wondering why it took about 4x longer to sort a list like:

[999_999, 999_999, ..., 2, 2, 1, 1, 0, 0]

than "similar" lists. Of course that runs very much faster after this patch.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
2024-03-12 19:59:42 -05:00
..
archivetestdata gh-108303: Move zip and tar archives to Lib/test/archivetestdata (#111549) 2023-11-04 10:57:53 +01:00
audiodata gh-104773: PEP 594: Remove the aifc module (#104933) 2023-05-25 17:20:48 +02:00
certdata gh-107361: strengthen default SSL context flags (#112389) 2024-03-06 13:44:58 -08:00
cjkencodings
configdata gh-108303: Move config parser data to Lib/test/configparserdata/ (gh-111879) 2023-11-09 14:52:32 +01:00
crashers Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02:00
data
decimaltestdata
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 chore: fix typos (#116345) 2024-03-05 09:05:52 -07:00
mathdata gh-108303: Move all math files to Lib/test/mathdata/ (#109512) 2023-09-21 21:14:41 +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
support gh-116307: Proper fix for 'mod' leaking across importlib tests (#116680) 2024-03-12 21:36:21 +00:00
test_asyncio gh-113538: Revert "gh-113538: Add asycio.Server.{close,abort}_clients (#114432)" (#116632) 2024-03-12 00:31:49 +00:00
test_capi gh-116656: Fix test_capi test_py_config_isoloated_per_interpreter() (#116658) 2024-03-12 18:31:35 +01:00
test_concurrent_futures gh-116682: stdout may be empty in test_cancel_futures_wait_false (#116683) 2024-03-12 20:11:58 -04:00
test_cppext gh-112535: Add test on _Py_ThreadId() (#112709) 2023-12-04 22:40:06 +00:00
test_ctypes gh-72463: Fix ctypes/test_loading.py so that test_find reports skipped (GH-18312) 2024-02-29 20:37:31 +02:00
test_dataclasses gh-115285: Fix test_dataclasses with -OO mode (#115286) 2024-02-12 21:31:07 +03:00
test_doctest gh-115392: Fix doctest reporting incorrect line numbers for decorated functions (#115440) 2024-02-14 15:01:27 +00:00
test_email gh-76511: Fix email.Message.as_string() for non-ASCII message with ASCII charset (GH-116125) 2024-03-05 17:49:01 +02:00
test_future_stmt gh-109485: Further improve test_future_stmt tests (#109486) 2023-09-19 14:01:59 +02:00
test_gdb gh-110995: Fix test_gdb check_usable_gdb() (#110998) 2023-10-17 20:19:14 +02:00
test_import gh-95754: Better AttributeError on partially initialised module (#112577) 2023-12-21 13:24:10 -08:00
test_importlib gh-116307: Proper fix for 'mod' leaking across importlib tests (#116680) 2024-03-12 21:36:21 +00:00
test_inspect gh-101293: Fix support of custom callables and types in inspect.Signature.from_callable() (GH-115530) 2024-03-01 13:32:16 +02:00
test_interpreters gh-76785: Minor Improvements to "interpreters" Module (gh-116328) 2024-03-05 08:54:46 -07:00
test_json GH-112215: Increase C recursion limit for non debug builds (GH-113397) 2023-12-22 14:25:25 +00:00
test_module gh-81682: Fix test failures when CPython is built without docstrings (GH-113410) 2023-12-23 09:56:30 +00:00
test_multiprocessing_fork gh-108388: Split test_multiprocessing_spawn (#108396) 2023-08-24 05:35:39 +02: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 gh-116057: Use relative recursion limits when testing os.walk() and Path.walk() (#116058) 2024-03-10 23:00:33 +01:00
test_peg_generator gh-109653: Remove unused imports in the Lib/ directory (#109803) 2023-09-24 15:07:23 +01:00
test_pydoc gh-113942: Show functions implemented as builtin methods (GH-115306) 2024-02-26 20:29:49 +02:00
test_sqlite3 gh-91602: Add iterdump() support for filtering database objects (#114501) 2024-02-06 12:34:56 +01:00
test_tkinter gh-97928: Partially restore the behavior of tkinter.Text.count() by default (GH-115031) 2024-02-11 12:43:14 +02:00
test_tomllib gh-108851: Fix tomllib recursion tests (#108853) 2023-09-06 17:34:31 +02:00
test_tools gh-115421: Test that our Makefile has all needed test folders (GH-115813) 2024-03-07 12:24:38 +01:00
test_ttk gh-68166: Add support of "vsapi" in ttk.Style.element_create() (GH-111393) 2023-11-27 20:57:33 +02:00
test_unittest gh-75988: Fix issues with autospec ignoring wrapped object (#115223) 2024-03-08 19:14:32 +00:00
test_warnings gh-106922: Support multi-line error locations in traceback (attempt 2) (#112097) 2023-12-01 22:18:16 +00:00
test_zipfile gh-115961: Improve tests for compressed file-like objects (GH-115963) 2024-02-28 07:51:08 +00:00
test_zoneinfo gh-106233: Fix stacklevel in zoneinfo.InvalidTZPathWarning (GH-106234) 2024-02-06 15:08:56 +02: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
typinganndata gh-108303: Move more typing related files to Lib/test/typinganndata (#111825) 2023-11-08 14:19:34 +00:00
wheeldata gh-108303: Move .whl test files to Lib/test/wheeldata/ (#114343) 2024-01-23 16:33:12 +01:00
xmltestdata
.ruff.toml Bump ruff to 0.2.0 (#114932) 2024-02-02 21:04:15 +00:00
__init__.py
__main__.py gh-109566: Fix regrtest code adding Python options (#109926) 2023-09-26 21:59:11 +00:00
_test_atexit.py gh-108082: Remove _PyErr_WriteUnraisableMsg() (GH-111643) 2023-11-03 09:45:53 +02:00
_test_eintr.py gh-109592: test_eintr tolerates 20 ms when comparing timings (#110102) 2023-09-29 15:20:59 +02:00
_test_embed_set_config.py gh-116167: Allow disabling the GIL with PYTHON_GIL=0 or -X gil=0 (#116338) 2024-03-11 11:02:58 -04:00
_test_embed_structseq.py gh-84436: Implement Immortal Objects (gh-19474) 2023-04-22 13:39:37 -06: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 gh-88118: Fix some test_multiprocessing flakiness. (#116434) 2024-03-06 13:39:06 -08: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-114272: Allow _wmi audit test to succeed even if it times out (GH-114602) 2024-01-26 14:38:24 +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-114258: Argument Clinic: refactor getset implementation (#116170) 2024-03-04 13:51:28 +01: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 gh-89039: Call subclass constructors in datetime.*.replace (GH-114780) 2024-02-12 14:44:56 +02:00
dis_module.py
empty.vbs
exception_hierarchy.txt gh-114570: Add PythonFinalizationError exception (#115352) 2024-02-14 23:35:06 +01: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 gh-115733: Fix crash involving exhausted list iterator (#115740) 2024-02-21 05:18:44 +09:00
lock_tests.py gh-109974: Fix more threading lock_tests race conditions (#110089) 2023-09-29 12:21:18 +00:00
mapping_tests.py gh-109653: Remove unused imports in the Lib/ directory (#109803) 2023-09-24 15:07:23 +01: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
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
multibytecodec_support.py
pickletester.py GH-111802: set a low recursion limit for test_bad_getattr() in test.pickletester (GH-113996) 2024-01-12 14:14:09 -08: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
pythoninfo.py gh-114107: test.pythoninfo logs Windows Developer Mode (#114121) 2024-01-16 17:23:46 +01:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
regrtest.py gh-109162: libregrtest: use relative imports (#109250) 2023-09-11 07:02:35 +00:00
relimport.py
reperf.py
seq_tests.py
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 gh-110160: Fix flaky test_find_periodic_pattern in string_tests (#110170) 2023-10-01 16:20:01 +02:00
test___all__.py gh-71052: Enable test_concurrent_futures on platforms that lack multiprocessing (gh-115917) 2024-02-25 11:38:18 -08:00
test__locale.py gh-90473: Skip tests that don't apply to Emscripten and WASI (GH-92846) 2022-05-16 16:02:37 +02:00
test__opcode.py gh-110923: Fix silently skipped tests in test__opcode.py (#110926) 2023-10-16 13:30:35 +00:00
test__osx_support.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 17:49:09 +03:00
test__xxinterpchannels.py gh-115490: Make the interpreter.channels and interpreter.queues Modules Handle Reloading Properly (gh-115493) 2024-03-04 20:59:30 +00:00
test__xxsubinterpreters.py gh-115142: Skip `test__xxsubinterpreters if _testinternalcapi` is not available (#116507) 2024-03-09 16:28:13 +03:00
test_abc.py gh-106300: Improve assertRaises(Exception) usages in tests (GH-106302) 2023-07-07 13:42:40 -07:00
test_abstract_numbers.py gh-77465: Increase test coverage for the numbers module (GH-111738) 2024-01-25 16:35:05 +02:00
test_argparse.py gh-96310: Fix a traceback in argparse when all options in a mutually exclusive group are suppressed (GH-96311) 2024-02-21 13:58:04 +00:00
test_array.py gh-114894: add array.array.clear() method (#114919) 2024-02-10 07:59:46 -08:00
test_asdl_parser.py
test_ast.py gh-105858: Improve AST node constructors (#105880) 2024-02-27 18:13:03 -08:00
test_asyncgen.py gh-113980: Fix resource warnings in test_asyncgen (GH-113984) 2024-01-12 17:30:26 +02:00
test_atexit.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_audit.py GH-110829: Ensure Thread.join() joins the OS thread (#110848) 2023-11-04 13:59:24 +00:00
test_augassign.py
test_base64.py bpo-31116: Add Z85 variant to base64 (GH-30598) 2024-02-25 19:17:54 +02:00
test_baseexception.py chore: fix typos (#116345) 2024-03-05 09:05:52 -07:00
test_bdb.py gh-101517: fix line number propagation in code generated for except* (#103550) 2023-04-24 21:58:51 +01:00
test_bigaddrspace.py
test_bigmem.py gh-102701: Fix overflow in dictobject.c (GH-102750) 2023-03-17 22:39:09 +09:00
test_binascii.py gh-67565: Add tests for C-contiguity checks (GH-110951) 2023-10-20 01:09:57 +03:00
test_binop.py
test_bisect.py gh-96538: Fix refleak in _bisectmodule.c (gh-96619) 2022-09-06 19:37:18 -04:00
test_bool.py gh-82012: Deprecate bitwise inversion (~) of bool (#103487) 2023-05-03 00:00:42 -07:00
test_buffer.py gh-114685: PyBuffer_FillInfo() now raises on PyBUF_{READ,WRITE} (GH-114802) 2024-02-04 19:16:43 +00:00
test_bufio.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_builtin.py gh-76763: Make chr() always raising ValueError for out-of-range values (GH-114882) 2024-02-10 12:21:35 +02:00
test_bytes.py gh-115323: Add meaningful error message for using bytearray.extend with str (#115332) 2024-02-24 18:34:45 -05:00
test_bz2.py gh-115961: Improve tests for compressed file-like objects (GH-115963) 2024-02-28 07:51:08 +00:00
test_c_locale_coercion.py gh-71052: Change Android's sys.platform from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_calendar.py gh-69714: Make calendar module fully tested (#93655) 2023-07-22 15:20:40 +02:00
test_call.py gh-116417: Add _testlimitedcapi C extension (#116419) 2024-03-07 18:31:12 +00:00
test_charmapcodec.py
test_class.py GH-114806. Don't specialize calls to classes with metaclasses. (GH-114870) 2024-02-01 19:39:32 +00:00
test_clinic.py gh-116417: Argument Clinic: test generated Limited C API code for float args (#116573) 2024-03-11 08:44:42 +01:00
test_cmath.py gh-104263: Rely on Py_NAN and introduce Py_INFINITY (GH-104202) 2023-05-10 17:44:52 +01:00
test_cmd.py gh-102130: Support tab completion in cmd for Libedit. (GH-107748) 2023-12-05 08:24:56 +01:00
test_cmd_line.py gh-116167: Allow disabling the GIL with PYTHON_GIL=0 or -X gil=0 (#116338) 2024-03-11 11:02:58 -04:00
test_cmd_line_script.py gh-114099: Add test exclusions to support running the test suite on iOS (#114889) 2024-02-05 01:04:57 +01:00
test_code.py gh-110481: Implement inter-thread queue for biased reference counting (#114824) 2024-02-09 17:08:32 -05:00
test_code_module.py gh-114099: Add test exclusions to support running the test suite on iOS (#114889) 2024-02-05 01:04:57 +01:00
test_codeccallbacks.py bpo-36819: Fix crashes in built-in encoders with weird error handlers (GH-28593) 2022-05-02 12:37:48 +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 gh-109848: Make test_rot13_func in test_codecs independent (GH-109850) 2023-10-07 16:01:39 +03:00
test_codeop.py gh-113703: Correctly identify incomplete f-strings in the codeop module (#113709) 2024-01-05 12:16:46 +00:00
test_collections.py gh-114894: add array.array.clear() method (#114919) 2024-02-10 07:59:46 -08: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 gh-116100: Add test arg to ast.If and op arg to ast.BoolOp calls (#116101) 2024-02-29 06:59:24 -08:00
test_compileall.py gh-71052: Add test exclusions to support running the test suite on Android (#115918) 2024-02-29 22:32:50 +01:00
test_compiler_assemble.py gh-115796: fix exception table construction in _testinternalcapi.assemble_code_object (#115797) 2024-02-22 12:36:44 +00:00
test_compiler_codegen.py gh-115376: fix segfault in _testinternalcapi.compiler_codegen on bad input (#115379) 2024-02-15 14:32:21 +00:00
test_complex.py gh-109802: Increase test coverage for complexobject.c (GH-112452) 2023-11-28 10:18:33 +02:00
test_configparser.py gh-107625: configparser: Raise error if a missing value is continued (GH-107651) 2024-03-06 14:05:54 +00:00
test_contains.py
test_context.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_contextlib.py gh-103791: handle BaseExceptionGroup in contextlib.suppress() (#111910) 2023-11-10 13:32:36 +00:00
test_contextlib_async.py gh-110378: Fix test_async_gen_propagates_generator_exit in test_contextlib_async (#110500) 2023-10-10 11:38:40 +02:00
test_copy.py gh-110275: Named tuple's __replace__() now raises TypeError for invalid arguments (GH-110299) 2023-12-04 13:30:32 +02: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 gh-81682: Fix test failures when CPython is built without docstrings (GH-113410) 2023-12-23 09:56:30 +00:00
test_cprofile.py gh-100762: Fix optimization in gen_close (#111069) 2023-10-25 16:22:34 +01:00
test_csv.py gh-67044: Always quote or escape \r and \n in csv.writer() (GH-115741) 2024-02-23 22:25:09 +02:00
test_curses.py gh-81682: Fix test failures when CPython is built without docstrings (GH-113410) 2023-12-23 09:56:30 +00:00
test_datetime.py GH-84976: Move Lib/datetime.py to Lib/_pydatetime 2023-05-03 03:09:45 -06:00
test_dbm.py gh-100414: Add SQLite backend to dbm (#114481) 2024-02-14 11:14:56 +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-107122: Add clear method to dbm.gdbm.module (gh-107127) 2023-07-23 13:51:12 +00: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 gh-100414: Skip test_dbm_sqlite3 if sqlite3 is unavailable (#115449) 2024-02-14 13:16:09 +00:00
test_decimal.py gh-114563: C decimal falls back to pydecimal for unsupported format strings (GH-114879) 2024-02-12 13:17:51 +02:00
test_decorators.py gh-89519: Remove classmethod descriptor chaining, deprecated since 3.11 (gh-110163) 2023-10-27 00:24:56 -05:00
test_defaultdict.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_deque.py gh-115243: Fix crash in deque.index() when the deque is concurrently modified (GH-115247) 2024-02-14 16:08:26 +00:00
test_descr.py gh-115249: Fix test_descr with -OO mode (#115250) 2024-02-11 11:00:44 +03:00
test_descrtut.py gh-115450: Fix direct invocation of test_desctut (#115451) 2024-02-14 16:31:28 +03:00
test_devpoll.py
test_dict.py GH-91079: Rename C_RECURSION_LIMIT to Py_C_RECURSION_LIMIT (#108507) 2023-09-08 09:48:28 +00:00
test_dict_version.py
test_dictcomps.py
test_dictviews.py gh-109653: Remove unused imports in the Lib/ directory (#109803) 2023-09-24 15:07:23 +01:00
test_difflib.py
test_difflib_expect.html
test_dis.py gh-112720: make it easier to subclass and modify dis.ArgResolver's jump arg resolution (#115564) 2024-02-16 19:25:19 +00: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-114456: lower the recursion limit under WASI for debug builds (GH-114457) 2024-01-23 15:48:14 -08:00
test_dynamicclassattribute.py
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 gh-116167: Allow disabling the GIL with PYTHON_GIL=0 or -X gil=0 (#116338) 2024-03-11 11:02:58 -04:00
test_ensurepip.py GH-80789: Get rid of the `ensurepip` infra for many wheels (#109245) 2024-01-30 01:25:31 +00:00
test_enum.py gh-116600: [Enum] fix global Flag repr (GH-116615) 2024-03-11 15:41:53 -07: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-102856: Initial implementation of PEP 701 (#102855) 2023-04-19 11:18:16 -05: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
test_except_star.py gh-103590: do not wrap a single exception raised from a try-except* (#103665) 2023-04-27 12:52:15 +01:00
test_exception_group.py GH-91079: Rename C_RECURSION_LIMIT to Py_C_RECURSION_LIMIT (#108507) 2023-09-08 09:48:28 +00: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 gh-115823: Calculate correctly error locations when dealing with implicit encodings (#115824) 2024-02-26 12:57:09 +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 gh-115773: Add tests to exercise the _Py_DebugOffsets structure (#115774) 2024-02-28 10:17:34 +00:00
test_faulthandler.py Add support.MS_WINDOWS constant (#110446) 2023-10-06 02:37:28 +02:00
test_fcntl.py gh-71052: Change Android's sys.platform from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_file.py Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02:00
test_file_eintr.py bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615) 2022-01-25 08:09:06 +01:00
test_filecmp.py gh-57141: Add dircmp shallow option (GH-109499) 2024-03-04 17:27:43 +00:00
test_fileinput.py Use bool in fileinput.input() docstring and tests for the inplace argument (GH-111998) 2024-01-27 23:47:55 +02:00
test_fileio.py gh-82626: Emit a warning when bool is used as a file descriptor (GH-111275) 2024-02-05 22:51:11 +02: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
test_float.py gh-111765: Move old PyFloat_* tests to Lib/test/test_capi/test_float.py (GH-111766) 2023-11-07 13:40:58 +02:00
test_flufl.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_fnmatch.py gh-89973: Fix re.error in the fnmatch module. (GH-93072) 2022-06-05 11:46:29 +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 gh-104018: disallow "z" format specifier in %-format of byte strings (GH-104033) 2023-05-01 20:47:14 +01:00
test_fractions.py gh-102840: Fix confused traceback when floordiv or mod operations happens between Fraction and complex objects (GH-102842) 2024-02-10 16:37:19 +02:00
test_frame.py GH-116098: Remove dead frame object creation code (GH-116687) 2024-03-12 23:35:28 +00:00
test_frozen.py
test_fstring.py gh-99606: Make code generated for an empty f-string identical to that of a normal empty string (#112407) 2023-11-26 17:13:57 +00:00
test_ftplib.py gh-97590: Update docs and tests for ftplib.FTP.voidcmd() (GH-96825) 2024-02-17 11:57:51 +00:00
test_funcattrs.py gh-81137: deprecate assignment of code object to a function of a mismatched type (#111823) 2023-11-07 18:54:36 +00:00
test_functools.py gh-72249: Include the module name in the repr of partial object (GH-101910) 2024-02-25 22:55:19 +02:00
test_gc.py gh-116604: Correctly honor the gc status when calling _Py_RunGC (#116628) 2024-03-12 12:00:49 +00:00
test_generated_cases.py gh-115999: Disable the specializing adaptive interpreter in free-threaded builds (#116013) 2024-02-29 21:53:32 -05:00
test_generator_stop.py
test_generators.py Fix test_generators: save/restore warnings filters (#108246) 2023-08-21 23:41:13 +00:00
test_genericalias.py gh-107431: Make multiprocessing.managers.{DictProxy,ListProxy} generic (#107433) 2023-11-10 23:23:27 +00:00
test_genericclass.py Enable ruff on several more files in Lib/test (#110929) 2023-10-16 15:57:01 +01:00
test_genericpath.py gh-82626: Emit a warning when bool is used as a file descriptor (GH-111275) 2024-02-05 22:51:11 +02:00
test_genexps.py
test_getopt.py gh-89392: Use unittest test runner for doctests in test_getopt (GH-108916) 2023-09-05 17:35:28 +03:00
test_getpass.py gh-76912: Raise OSError from any failure in getpass.getuser() (#29739) 2023-11-27 10:05:55 -08:00
test_getpath.py gh-106718: Treat PyConfig.stdlib_dir as highest-priority setting for stdlib_dir when calculating paths (GH-108730) 2023-11-01 21:11:18 +00:00
test_gettext.py gh-88434: Emit deprecation warnings for non-integer numbers in gettext if translation not found (GH-110574) 2023-10-14 09:07:02 +03:00
test_glob.py gh-79382: Fix recursive glob() with trailing "**" (GH-115134) 2024-02-11 12:24:13 +02:00
test_global.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 17:49:09 +03:00
test_grammar.py gh-88943: Improve syntax error for non-ASCII character that follows a numerical literal (GH-109081) 2023-09-07 17:00:13 +03:00
test_graphlib.py
test_grp.py gh-95395: Add argument type error test (GH-95412) 2022-08-06 18:52:53 +02:00
test_gzip.py gh-115961: Improve tests for compressed file-like objects (GH-115963) 2024-02-28 07:51:08 +00:00
test_hash.py
test_hashlib.py gh-99108: Refresh HACL* from upstream (#104401) 2023-05-11 21:23:52 +00:00
test_heapq.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_hmac.py bpo-14322: added test case for invalid update to hmac (#26636) 2024-02-25 03:33:28 -07:00
test_html.py
test_htmlparser.py gh-95813: Improve HTMLParser from the view of inheritance (#95874) 2022-08-18 13:16:33 +02:00
test_http_cookiejar.py gh-99576: Fix cookiejar file that was not truncated for some classes (GH-99616) 2022-12-20 17:51:26 +01:00
test_http_cookies.py
test_httplib.py gh-100985: Consistently wrap IPv6 IP address during CONNECT (GH-100986) 2024-02-17 10:10:12 +00:00
test_httpservers.py gh-114099: Add test exclusions to support running the test suite on iOS (#114889) 2024-02-05 01:04:57 +01:00
test_idle.py gh-90791: Enable test___all__ on ASAN build (#108286) 2023-08-22 15:52:32 +02:00
test_imaplib.py gh-108303: Move all certificates to Lib/test/certdata/ (#109489) 2023-09-16 18:47:18 +02:00
test_index.py
test_int.py gh-114911: Add CPUStopwatch test helper (GH-114912) 2024-02-28 12:53:48 +01:00
test_int_literal.py
test_io.py gh-95782: Fix io.BufferedReader.tell() etc. being able to return offsets < 0 (GH-99709) 2024-02-17 11:16:06 +00:00
test_ioctl.py
test_ipaddress.py gh-109466: Add ipv6_mapped property to IPv4Address (#109467) 2023-11-05 16:50:31 +00:00
test_isinstance.py GH-114013: fix setting HOSTRUNNER for Tools/wasm/wasi.py (GH-114097) 2024-01-16 11:36:41 -08:00
test_iter.py gh-112087: Make __sizeof__ and listiter_{len, next} to be threadsafe (gh-114843) 2024-02-15 02:00:50 +09:00
test_iterlen.py
test_itertools.py gh-113202: Add a strict option to itertools.batched() (gh-113203) 2023-12-16 09:13:50 -06: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 Replace stat.ST_xxx usage with os.stat().st_xxx (#116501) 2024-03-08 18:49:09 +01:00
test_launcher.py gh-114272: Fix or skip tests that fail due to spaces in paths (GH-114451) 2024-01-25 00:38:34 +00:00
test_linecache.py gh-86291: linecache: get module name from __spec__ if available (GH-22908) 2024-02-20 16:47:41 +00:00
test_list.py gh-112087: Make list_{slice, ass_slice, subscript} to be threadsafe (gh-116233) 2024-03-05 04:58:14 +00:00
test_listcomps.py gh-114828: Fix __class__ in class-scope inlined comprehensions (#115139) 2024-02-07 16:56:16 +00:00
test_lltrace.py GH-99005: More intrinsics (GH-100774) 2023-01-06 14:47:57 +00:00
test_locale.py gh-104783: locale.getencoding() fallback uses FS encoding (#105381) 2023-06-06 16:55:21 +02:00
test_logging.py gh-71052: Change Android's sys.platform from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_long.py gh-101266: Fix __sizeof__ for subclasses of int (#101394) 2023-02-05 10:02:53 +00:00
test_longexp.py
test_lzma.py gh-115961: Improve tests for compressed file-like objects (GH-115963) 2024-02-28 07:51:08 +00:00
test_mailbox.py Replace stat.ST_xxx usage with os.stat().st_xxx (#116501) 2024-03-08 18:49:09 +01:00
test_marshal.py gh-114099: Add test exclusions to support running the test suite on iOS (#114889) 2024-02-05 01:04:57 +01:00
test_math.py gh-102837: more tests for the math module (GH-111930) 2023-11-13 10:57:57 +01: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 gh-111049: Fix crash during garbage collection of the BytesIO buffer object (GH-111221) 2023-12-14 10:04:23 +00:00
test_memoryview.py gh-90751: memoryview now supports half-float (#96738) 2022-09-10 22:44:10 +02:00
test_metaclass.py
test_mimetypes.py gh-111741: Recognise image/webp as a standard format in the mimetypes module (GH-111742) 2024-01-31 17:33:46 +02:00
test_minidom.py gh-50002: xml.dom.minidom now preserves whitespaces in attributes (GH-107947) 2023-08-23 15:23:41 +03:00
test_mmap.py gh-71052: Change Android's sys.platform from "linux" to "android" 2024-03-11 19:25:39 +00:00
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 gh-115832: Fix instrumentation version mismatch during interpreter shutdown (#115856) 2024-03-04 11:29:39 -05:00
test_msvcrt.py gh-110147: test_msvcrt: run console I/O tests in new processes (#110268) 2023-10-05 19:52:26 +02:00
test_multibytecodec.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03: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-96497: Mangle name before symtable lookup in 'symtable_extend_namedexpr_scope' (GH-96561) 2024-02-17 12:06:31 +00:00
test_netrc.py gh-89392: Remove test_main() in test_netrc (GH-108860) 2023-09-04 12:41:13 +03:00
test_ntpath.py gh-88569: add ntpath.isreserved() (#95486) 2024-01-26 18:14:24 +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 gh-115999: Disable the specializing adaptive interpreter in free-threaded builds (#116013) 2024-02-29 21:53:32 -05:00
test_opcodes.py gh-108303: Move ann_module*.py files to typinganndata/ folder (#108354) 2023-08-23 17:42:08 +02:00
test_openpty.py
test_operator.py gh-102088 Optimize iter_index itertools recipe (GH-102360) 2023-03-01 21:16:23 -06:00
test_optimizer.py GH-115816: Make tier2 optimizer symbols testable, and add a few tests. (GH-115953) 2024-02-27 10:51:26 +00:00
test_optparse.py
test_ordered_dict.py gh-105736: Sync pure python version of OrderedDict with the C version (#108098) 2023-08-21 11:49:08 +02:00
test_os.py gh-71052: Change Android's sys.platform from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_osx_env.py
test_patma.py gh-110686: Test pattern matching with runtime_checkable protocols (#110687) 2023-12-10 07:21:20 -08:00
test_pdb.py gh-90095: Make .pdbrc work properly and add some reasonable tests (#110496) 2024-03-11 21:27:00 +00:00
test_peepholer.py gh-115420: Fix translation of exception hander targets by _testinternalcapi.optimize_cfg. (#115425) 2024-02-15 14:32:52 +00: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 gh-109587: Allow "precompiled" perf-trampolines to largely mitigate the cost of enabling perf-trampolines (#109666) 2023-10-27 03:57:29 +00:00
test_perfmaps.py gh-103295: expose API for writing perf map files (#103546) 2023-05-21 11:12:24 +01:00
test_pickle.py gh-114570: Add PythonFinalizationError exception (#115352) 2024-02-14 23:35:06 +01:00
test_picklebuffer.py
test_pickletools.py
test_pkg.py
test_pkgutil.py gh-97850: Deprecate find_loader and get_loader in pkgutil (GH-98520) 2023-05-03 16:11:54 -07:00
test_platform.py gh-116349: Deprecate platform.java_ver function (#116471) 2024-03-08 11:14:17 +03:00
test_plistlib.py gh-111803: Make test_deep_nesting from test_plistlib more strict (GH-114026) 2024-01-21 22:29:51 +02:00
test_poll.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_popen.py bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615) 2022-01-25 08:09:06 +01:00
test_poplib.py gh-108303: Move all certificates to Lib/test/certdata/ (#109489) 2023-09-16 18:47:18 +02:00
test_positional_only_arg.py gh-91210: Improve error message when non-default param follows default (GH-95933) 2022-09-17 10:09:28 -07:00
test_posix.py gh-71052: Add test exclusions to support running the test suite on Android (#115918) 2024-02-29 22:32:50 +01:00
test_posixpath.py gh-114709: Fix exceptions raised by posixpath.commonpath (#114710) 2024-02-18 00:24:58 -08:00
test_pow.py GH-102341: Improve the test function for pow (#102342) 2023-03-05 12:31:26 -05:00
test_pprint.py gh-111147: Fix test_set_of_sets_reprs in test_pprint (GH-111148) 2023-11-27 12:01:26 +02:00
test_print.py
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 gh-101860: Expose __name__ on property (GH-101876) 2024-02-20 17:14:34 +02:00
test_pstats.py gh-57879: Increase test coverage for pstats.py (gh-111447) 2023-11-21 22:32:09 +09:00
test_pty.py gh-71052: Add test exclusions to support running the test suite on Android (#115918) 2024-02-29 22:32:50 +01:00
test_pulldom.py
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 gh-104773: PEP 594: Remove cgi and cgitb modules (#104775) 2023-05-24 09:04:53 +00:00
test_pyexpat.py gh-115398: Expose Expat >=2.6.0 reparse deferral API (CVE-2023-52425) (GH-115623) 2024-02-29 14:52:50 -08:00
test_queue.py gh-115258: Temporarily skip some queue tests on all platforms (#115361) 2024-02-12 20:52:25 +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 gh-112217: Add check to call result for do_raise() where cause is a type. (#112216) 2023-11-27 21:13:27 +00:00
test_random.py Add extra tests for random.binomialvariate (gh-112325) 2023-11-23 12:31:03 -06:00
test_range.py Revert "Add tests for empty range equality (#103751)" (#103770) 2023-04-24 14:29:57 -04:00
test_re.py gh-114911: Add CPUStopwatch test helper (GH-114912) 2024-02-28 12:53:48 +01:00
test_readline.py gh-112510: Add readline.backend for the backend readline uses (GH-112511) 2023-12-01 14:05:55 +00:00
test_regrtest.py gh-115720: Show number of leaks in huntrleaks progress reports (GH-115726) 2024-02-27 09:51:17 +01:00
test_repl.py gh-106922: Support multi-line error locations in traceback (attempt 2) (#112097) 2023-12-01 22:18:16 +00:00
test_reprlib.py gh-109818: reprlib.recursive_repr copies __type_params__ (#109819) 2023-09-27 19:26:42 -07:00
test_resource.py gh-71052: Change Android's sys.platform from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_richcmp.py GH-114013: fix setting HOSTRUNNER for Tools/wasm/wasi.py (GH-114097) 2024-01-16 11:36:41 -08:00
test_rlcompleter.py gh-81682: Fix test failures when CPython is built without docstrings (GH-113410) 2023-12-23 09:56:30 +00:00
test_robotparser.py gh-90473: Skip tests that don't apply to Emscripten and WASI (GH-92846) 2022-05-16 16:02:37 +02:00
test_runpy.py GH-114743: Set a low recursion limit for test_main_recursion_error() in test_runpy (GH-114772) 2024-01-31 01:49:27 +00:00
test_sax.py gh-115398: Expose Expat >=2.6.0 reparse deferral API (CVE-2023-52425) (GH-115623) 2024-02-29 14:52:50 -08: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
test_script_helper.py bpo-40280: Block more non-working syscalls in Emscripten (GH-31757) 2022-03-08 12:17:30 +01: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 gh-110525: Delete test_c_api method from set object (#110688) 2023-10-13 10:06:25 +02:00
test_setcomps.py
test_shelve.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_shlex.py gh-102515: Remove unused imports in the Lib/ directory (#102516) 2023-03-08 11:45:38 +00:00
test_shutil.py gh-114099: Add test exclusions to support running the test suite on iOS (#114889) 2024-02-05 01:04:57 +01:00
test_signal.py gh-114099: Add test exclusions to support running the test suite on iOS (#114889) 2024-02-05 01:04:57 +01:00
test_site.py gh-113659: Skip hidden .pth files (GH-113660) 2024-01-16 20:23:05 +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 gh-108303: Move smtpd to test.support (#114368) 2024-01-22 14:36:29 +01:00
test_smtpnet.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_socket.py gh-71052: Change Android's sys.platform from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_socketserver.py gh-110393: Remove watchdog with hardcoded timeout (#110400) 2023-10-05 15:02:48 +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 gh-104169: Fix test_peg_generator after tokenizer refactoring (#110727) 2023-10-12 09:34:35 +02:00
test_ssl.py gh-71052: Change Android's sys.platform from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_stable_abi_ctypes.py gh-114329: Add PyList_GetItemRef function (GH-114504) 2024-02-02 14:03:15 +01:00
test_startfile.py
test_stat.py gh-114099: Add test exclusions to support running the test suite on iOS (#114889) 2024-02-05 01:04:57 +01:00
test_statistics.py gh-115532: Add kernel density estimation to the statistics module (gh-115863) 2024-02-25 17:46:47 -06:00
test_str.py gh-104231: Add more tests for str(), repr(), ascii(), and bytes() (GH-112551) 2023-11-30 17:22:04 +02:00
test_strftime.py gh-99482: remove jython compatibility parts from stdlib and tests (#99484) 2022-12-23 14:17:24 -06:00
test_string.py
test_string_literals.py gh-111380: Show SyntaxWarnings only once when parsing if invalid syntax is encouintered (#111381) 2023-10-27 12:19:34 +09:00
test_stringprep.py
test_strptime.py bpo-36959: Fix error messages for invalid ISO format string in _strptime() (GH-13408) 2023-12-26 19:26:17 +00:00
test_strtod.py
test_struct.py gh-112358: Fix Python 3.12 regression with subclassing struct.Struct. (#112424) 2023-11-26 14:29:52 +00:00
test_structseq.py gh-110222: Add support of PyStructSequence in copy.replace() (GH-110223) 2023-10-04 19:47:41 +03: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 gh-104522: Fix test_subprocess failure when build Python in the root home directory (GH-114236) 2024-01-18 10:52:59 +00:00
test_sundry.py gh-92584: Remove the distutils package (#99061) 2022-11-03 19:27:27 +01:00
test_super.py gh-108303: Remove Lib/test/shadowed_super.py (#114372) 2024-01-22 16:09:10 +01:00
test_support.py GH-112215: Increase C recursion limit for non debug builds (GH-113397) 2023-12-22 14:25:25 +00:00
test_symtable.py gh-113325: Remove a debugging print accidentally left in test_symtable (GH-113368) 2023-12-21 20:12:07 +02:00
test_syntax.py gh-111488: Changed error message in case of no 'in' keyword after 'for' in cmp (#113656) 2024-01-06 10:27:49 +00:00
test_sys.py gh-71052: Change Android's sys.platform from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_sys_setprofile.py gh-110892: Return NULL for PyTrace_RETURN events caused by an exception (GH-110909) 2023-11-02 16:38:08 +00:00
test_sys_settrace.py gh-114099: Add test exclusions to support running the test suite on iOS (#114889) 2024-02-05 01:04:57 +01:00
test_sysconfig.py gh-71052: Change Android's sys.platform from "linux" to "android" 2024-03-11 19:25:39 +00: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-104825: Remove implicit newline in the line attribute in tokens emitted in the tokenize module (#104846) 2023-05-24 09:59:18 +00:00
test_tarfile.py gh-71052: Change Android's sys.platform from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_tcl.py gh-104496: Use correct Tcl or Tk version in Tkinter tests (GH-107688) 2023-08-07 14:11:39 +03:00
test_tempfile.py gh-79325: Fix recursion error in TemporaryDirectory cleanup on Windows (GH-112762) 2023-12-07 17:21:36 +00:00
test_termios.py gh-81002: Add tests for termios (GH-110386) 2023-10-10 13:35:15 +02:00
test_textwrap.py
test_thread.py gh-114271: Make _thread.ThreadHandle thread-safe in free-threaded builds (GH-115190) 2024-03-01 13:43:12 -08:00
test_threadedtempfile.py bpo-40280: Detect missing threading on WASM platforms (GH-32352) 2022-04-07 09:22:47 +02:00
test_threading.py gh-76785: Update test.support.interpreters to Align With PEP 734 (gh-115566) 2024-02-28 16:08:08 -07:00
test_threading_local.py GH-100892: Fix race in clearing threading.local (#100922) 2023-01-11 16:03:31 +05:30
test_threadsignals.py gh-71052: Use raise_signal in ThreadSignals.test_signals (#116423) 2024-03-11 21:39:17 +01:00
test_time.py gh-71052: Change Android's sys.platform from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_timeit.py
test_timeout.py gh-75743: Restore test_timeout.testConnectTimeout() (#109087) 2023-09-07 20:13:32 +02:00
test_tokenize.py gh-115154: Fix untokenize handling of unicode named literals (#115171) 2024-02-19 14:54:10 +00:00
test_trace.py gh-68403: Fix test_coverage in test_trace (GH-108910) 2023-09-07 21:28:18 +03:00
test_traceback.py gh-115282: Fix direct invocation of test_traceback.py (#115283) 2024-02-11 19:07:08 +03:00
test_tracemalloc.py gh-108634: Py_TRACE_REFS uses a hash table (#108663) 2023-08-31 18:33:34 +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
test_turtle.py gh-107805: Fix signatures of module-level generated functions in turtle (#107807) 2023-09-01 01:18:15 -07:00
test_type_aliases.py gh-108303: Move more typing related files to Lib/test/typinganndata (#111825) 2023-11-08 14:19:34 +00:00
test_type_annotations.py gh-105164: Detect annotations inside match blocks (#105177) 2023-06-05 06:07:17 -07:00
test_type_cache.py gh-115999: Disable the specializing adaptive interpreter in free-threaded builds (#116013) 2024-02-29 21:53:32 -05:00
test_type_comments.py gh-115881: Ensure ast.parse() parses conditional context managers even with low feature_version passed (#115920) 2024-02-26 09:22:09 +00:00
test_type_params.py gh-109219: propagate free vars through type param scopes (#109377) 2023-09-14 10:20:32 -06:00
test_typechecks.py
test_types.py gh-112281: Allow Union with unhashable Annotated metadata (#112283) 2024-03-01 16:19:24 +00:00
test_typing.py gh-116127: PEP-705: Add ReadOnly support for TypedDict (#116350) 2024-03-12 07:49:39 -07:00
test_ucn.py
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-114099: Add test exclusions to support running the test suite on iOS (#114889) 2024-02-05 01:04:57 +01:00
test_unicode_identifiers.py gh-108303: Move tokenize-related data to Lib/test/tokenizedata (GH-109265) 2023-09-12 09:37:42 +03:00
test_unicodedata.py gh-96954: use a directed acyclic word graph for storing the unicodedata codepoint names (#97906) 2023-11-04 15:56:58 +01:00
test_univnewlines.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_unpack.py Fix typos in docs and comments (#109619) 2023-09-20 16:58:23 +00:00
test_unpack_ex.py
test_unparse.py gh-116030: test_unparse: Add `ctx argument to ast.Name` calls (#116031) 2024-02-28 03:04:23 -08:00
test_urllib.py gh-105382: Remove urllib.request cafile parameter (#105384) 2023-06-06 21:17:45 +00:00
test_urllib2.py gh-115197: Stop resolving host in urllib.request proxy bypass (GH-115210) 2024-02-28 12:15:52 -08:00
test_urllib2_localnet.py gh-108303: Move all certificates to Lib/test/certdata/ (#109489) 2023-09-16 18:47:18 +02:00
test_urllib2net.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_urllib_response.py gh-90473: WASI: skip gethostname tests (GH-93092) 2022-05-23 10:39:57 +02:00
test_urllibnet.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_urlparse.py gh-74668: Fix support of bytes in urllib.parse.parse_qsl() (GH-115771) 2024-03-05 17:49:50 +02:00
test_userdict.py GH-114013: fix setting HOSTRUNNER for Tools/wasm/wasi.py (GH-114097) 2024-01-16 11:36:41 -08:00
test_userlist.py GH-114013: fix setting HOSTRUNNER for Tools/wasm/wasi.py (GH-114097) 2024-01-16 11:36:41 -08: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-108303: Fix and move badsyntax_pep3120.py (#109513) 2023-09-18 14:04:17 +01:00
test_uuid.py gh-103186: Fix or catch 'extra' stderr output from unittests (#103196) 2023-07-10 16:29:03 -04:00
test_venv.py gh-71052: Add test exclusions to support running the test suite on Android (#115918) 2024-02-29 22:32:50 +01: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 gh-105096: Deprecate wave getmarkers() method (#105098) 2023-05-31 12:09:41 +00:00
test_weakref.py gh-108416: Mark slow test methods with @requires_resource('cpu') (GH-108421) 2023-09-02 07:45:34 +03:00
test_weakset.py gh-110525: Delete test_c_api method from set object (#110688) 2023-10-13 10:06:25 +02:00
test_webbrowser.py gh-114272: Fix or skip tests that fail due to spaces in paths (GH-114451) 2024-01-25 00:38:34 +00:00
test_winapi.py gh-89240: Enable multiprocessing on Windows to use large process pools (GH-107873) 2024-02-13 00:28:35 +00:00
test_winconsoleio.py gh-114561: Mark some tests in `test_wincosoleio with requires_resource('console')` decorator (GH-114565) 2024-01-25 20:00:52 +00:00
test_winreg.py gh-103092: Isolate winreg (#103250) 2023-04-17 12:30:48 -06:00
test_winsound.py gh-91061: also accept pathlib.Path for winsound.PlaySound (#91489) 2022-05-22 18:54:24 -07:00
test_with.py gh-102799: use exception instance instead of sys.exc_info() (#102885) 2023-03-31 11:23:02 +01:00
test_wmi.py gh-112278: Add retry in WMI tests in case of slow initialization (GH-113154) 2023-12-15 13:42:37 +00:00
test_wsgiref.py
test_xml_dom_minicompat.py
test_xml_etree.py gh-115398: Expose Expat >=2.6.0 reparse deferral API (CVE-2023-52425) (GH-115623) 2024-02-29 14:52:50 -08:00
test_xml_etree_c.py bpo-45229: Make ElementTree tests discoverable (GH-108859) 2023-09-04 13:04:32 +03:00
test_xmlrpc.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_xxlimited.py bpo-45459: Add Py_buffer to limited API (GH-29991) 2022-02-02 07:03:10 -08:00
test_xxtestfuzz.py
test_yield_from.py Add more tests for throwing into yield from (GH-94097) 2022-06-23 16:48:28 -07:00
test_zipapp.py gh-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534) 2022-06-06 19:24:11 +02: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 gh-103200: Fix performance issues with zipimport.invalidate_caches() (GH-103208) 2023-07-07 22:02:13 +00:00
test_zipimport_support.py gh-108303: Move all doctest related files and tests to Lib/test/test_doctest/ (#112109) 2024-01-18 16:58:11 +01:00
test_zlib.py gh-112769: test_zlib: Fix comparison of ZLIB_RUNTIME_VERSION with non-int suffix (GH-112771) 2023-12-05 21:39:28 +02:00
testcodec.py
tf_inherit_check.py
win_console_handler.py
xmltests.py