cpython/Lib/test
Miss Islington (bot) dae3e2fea3
Check result of utc_to_seconds and skip fold probe in pure Python (GH-91582)
The `utc_to_seconds` call can fail, here's a minimal reproducer on
Linux:

TZ=UTC python -c "from datetime import *; datetime.fromtimestamp(253402300799 + 1)"

The old behavior still raised an error in a similar way, but only
because subsequent calculations happened to fail as well. Better to fail
fast.

This also refactors the tests to split out the `fromtimestamp` and
`utcfromtimestamp` tests, and to get us closer to the actual desired
limits of the functions. As part of this, we also changed the way we
detect platforms where the same limits don't necessarily apply (e.g.
Windows).

As part of refactoring the tests to hit this condition explicitly (even
though the user-facing behvior doesn't change in any way we plan to
guarantee), I noticed that there was a difference in the places that
`datetime.utcfromtimestamp` fails in the C and pure Python versions, which
was fixed by skipping the "probe for fold" logic for UTC specifically —
since UTC doesn't have any folds or gaps, we were never going to find a
fold value anyway. This should prevent some failures in the pure python
`utcfromtimestamp` method on timestamps close to 0001-01-01.

There are two separate news entries for this because one is a
potentially user-facing change, the other is an internal code
correctness change that, if anything, changes some error messages. The
two happen to be coupled because of the test refactoring, but they are
probably best thought of as independent changes.

Fixes GH-91581
(cherry picked from commit 83c0247d47)

Co-authored-by: Paul Ganssle <1377457+pganssle@users.noreply.github.com>
2022-05-14 07:59:52 -07:00
..
audiodata
capath bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
cjkencodings
crashers bpo-42734: Fix crasher bogus_code_obj.py (GH-23939) 2020-12-25 17:03:37 +02:00
data
decimaltestdata Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
dtracedata
encoded_modules
imghdrdata Optimize images by IMGbot (GH-21348) 2022-02-04 15:49:43 +09:00
leakers
libregrtest gh-84461: Add ability for multiprocessed libregrtest to use a different Python executable (GH-91930) 2022-05-02 15:51:34 -07:00
sndhdrdata
subprocessdata
support gh-90473: Increase stack size, disable obmalloc on WASI (GH-92732) 2022-05-13 00:00:33 -07:00
test_asyncio gh-90978: asyncio TestSSL uses SHORT_TIMEOUT (GH-92642) 2022-05-11 14:56:07 -07:00
test_email bpo-43323: Fix UnicodeEncodeError in the email module (GH-32137) 2022-04-30 13:17:23 +03:00
test_import bpo-40280: Detect missing threading on WASM platforms (GH-32352) 2022-04-07 09:22:47 +02:00
test_importlib bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
test_json bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) 2022-03-22 03:04:36 -07:00
test_peg_generator bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
test_sqlite3 gh-89022: Improve sqlite3 exceptions related to binding params and API misuse (#91572) 2022-05-04 07:16:01 -06:00
test_tomllib bpo-40059: Add tomllib (PEP-680) (GH-31498) 2022-03-08 09:26:13 +01:00
test_tools GH-91752: Skip test_freeze_simple_script when zlib is not available (#91758) 2022-05-03 10:19:54 -07:00
test_warnings gh-91230: Concise catch_warnings with simplefilter (#91435) 2022-04-23 17:55:22 -07:00
test_zoneinfo bpo-46425: fix direct invocation of test_fileutils and test_zoneinfo (GH-30792) 2022-01-22 18:05:43 +02:00
tracedmodules
xmltestdata
ziptestdata
__init__.py
__main__.py
_test_atexit.py bpo-46025: Fix a crash in the atexit module for auto-unregistering functions (GH-30002) 2021-12-09 13:53:44 +00:00
_test_eintr.py bpo-42639: Add script_helper.run_test_script() (GH-23777) 2020-12-15 16:08:16 +01:00
_test_embed_set_config.py bpo-45582: Port getpath[p].c to Python (GH-29041) 2021-12-03 00:08:42 +00:00
_test_embed_structseq.py bpo-46417: Finalize structseq types at exit (GH-30645) 2022-01-21 01:42:25 +01:00
_test_multiprocessing.py bpo-46720: Add support for path-like objects to multiprocessing.set_executable for Windows (GH-31279) 2022-04-22 15:47:09 -07:00
_testcppext.cpp gh-91321: Add _Py_NULL macro (#92253) 2022-05-03 21:38:37 +02:00
_typed_dict_helper.py bpo-44863: Allow generic typing.TypedDict (#27663) 2022-05-03 07:21:42 -06:00
allsans.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
ann_module.py bpo-44490: Improve typing module compatibility with types.Union (GH-27048) 2021-07-16 20:33:40 -07:00
ann_module2.py
ann_module3.py
ann_module4.py bpo-43901: Lazy-create an empty annotations dict in all unannotated user classes and modules (#25623) 2021-04-29 20:09:08 -07:00
ann_module5.py bpo-45166: fixes get_type_hints failure on Final (GH-28279) 2021-09-25 10:56:22 +02:00
ann_module6.py bpo-45166: fixes get_type_hints failure on Final (GH-28279) 2021-09-25 10:56:22 +02:00
ann_module7.py bpo-43118: Fix bug in inspect.signature around 'base.__text_signature__' (GH-30285) 2022-01-21 13:24:33 -08:00
ann_module8.py bpo-46571: improve typing.no_type_check to skip foreign objects (GH-31042) 2022-02-18 17:53:29 -08:00
audiotest.au
audiotests.py
audit-tests.py bpo-41180: Replace marshal code.__new__ audit event with marshal.load[s] and marshal.dumps (GH-26961) 2021-06-30 17:21:37 +01:00
autotest.py
bad_coding.py
bad_coding2.py
bad_getattr.py
bad_getattr2.py
bad_getattr3.py
badcert.pem
badkey.pem
badsyntax_3131.py
badsyntax_future3.py
badsyntax_future4.py
badsyntax_future5.py
badsyntax_future6.py
badsyntax_future7.py
badsyntax_future8.py
badsyntax_future9.py
badsyntax_future10.py
badsyntax_pep3120.py
bisect_cmd.py
cfgparser.1
cfgparser.2
cfgparser.3
clinic.test gh-91320: Argument Clinic uses _PyCFunction_CAST() (#32210) 2022-05-03 20:25:41 +02:00
cmath_testcases.txt
coding20731.py
curses_tests.py
dataclass_module_1.py bpo-38605: Revert making 'from __future__ import annotations' the default (GH-25490) 2021-04-21 12:41:19 +01:00
dataclass_module_1_str.py bpo-38605: Revert making 'from __future__ import annotations' the default (GH-25490) 2021-04-21 12:41:19 +01:00
dataclass_module_2.py bpo-38605: Revert making 'from __future__ import annotations' the default (GH-25490) 2021-04-21 12:41:19 +01:00
dataclass_module_2_str.py bpo-38605: Revert making 'from __future__ import annotations' the default (GH-25490) 2021-04-21 12:41:19 +01:00
dataclass_textanno.py bpo-38605: Revert making 'from __future__ import annotations' the default (GH-25490) 2021-04-21 12:41:19 +01:00
datetimetester.py Check result of utc_to_seconds and skip fold probe in pure Python (GH-91582) 2022-05-14 07:59:52 -07:00
dis_module.py
doctest_aliases.py
double_const.py
empty.vbs
exception_hierarchy.txt bpo-46417: Factorize _PyExc_InitTypes() code (GH-30804) 2022-01-22 21:48:56 +01:00
ffdh3072.pem
final_a.py
final_b.py
floating_points.txt
fork_wait.py
formatfloat_testcases.txt
future_test1.py
future_test2.py
gdb_sample.py bpo-45256: Remove the usage of the C stack in Python to Python calls (GH-28488) 2021-10-09 16:51:30 +01:00
good_getattr.py
idnsans.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
ieee754.txt bpo-44339: Fix math.pow corner case to comply with IEEE 754 (GH-26606) 2021-06-12 10:23:02 +01:00
imp_dummy.py
inspect_fodder.py bpo-42116: Fix inspect.getsource handling of trailing comments (GH-23630) 2020-12-04 18:45:38 +02:00
inspect_fodder2.py
inspect_stock_annotations.py bpo-43817: Add inspect.get_annotations(). (#25522) 2021-04-29 21:16:28 -07:00
inspect_stringized_annotations.py bpo-43817: Add inspect.get_annotations(). (#25522) 2021-04-29 21:16:28 -07:00
inspect_stringized_annotations_2.py bpo-43817: Add inspect.get_annotations(). (#25522) 2021-04-29 21:16:28 -07:00
keycert.passwd.pem
keycert.pem
keycert2.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
keycert3.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
keycert4.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
keycertecc.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
list_tests.py
lock_tests.py bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) 2022-03-22 03:04:36 -07:00
mailcap.txt
make_ssl_certs.py Fix a typo in the message from make_ssl_certs. (GH-30152) 2021-12-16 21:08:18 -08:00
mapping_tests.py
math_testcases.txt
memory_watchdog.py
mime.types bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378) 2021-07-27 00:11:55 +02:00
mock_socket.py Revert "bpo-28533: Remove asyncore, asynchat, smtpd modules (GH-29521)" (GH-29951) 2021-12-07 12:31:04 +01:00
mod_generics_cache.py bpo-46348: modernize test_typing (GH-30547) 2022-01-12 08:48:10 -08:00
mp_fork_bomb.py
mp_preload.py
multibytecodec_support.py bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25145) 2021-04-04 09:01:23 +09:00
nokia.pem
nosan.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
nullbytecert.pem
nullcert.pem
pickletester.py bpo-40280: Detect missing threading on WASM platforms (GH-32352) 2022-04-07 09:22:47 +02:00
profilee.py
pstats.pck
pycacert.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
pycakey.pem bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
pyclbr_input.py
pydoc_mod.py bpo-26120: make pydoc exclude __future__ imports from the data block of the module (GH-30888) 2022-03-28 22:02:57 +01:00
pydocfodder.py
pythoninfo.py gh-84461: Include _emscripten_info in pythoninfo output (GH-91907) 2022-04-25 12:58:25 +02:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
recursion.tar
regrtest.py
relimport.py
reperf.py
revocation.crl bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
sample_doctest.py
sample_doctest_no_docstrings.py
sample_doctest_no_doctests.py
secp384r1.pem
selfsigned_pythontestdotnet.pem
seq_tests.py bpo-43413: Fix handling keyword arguments in subclasses of some buitin classes (GH-26456) 2021-09-12 13:27:50 +03:00
sgml_input.html
signalinterproctester.py
Sine-1000Hz-300ms.aif
sortperf.py
ssl_cert.pem
ssl_key.passwd.pem
ssl_key.pem
ssl_servers.py
ssltests.py Revert "bpo-43989: Temporarily disable warnings in ssltests (GH-25780)" (GH-25793) 2021-05-01 13:53:57 -07:00
string_tests.py bpo-45668: Fix PGO tests without test extensions (GH-29315) 2021-11-01 11:14:53 +01:00
talos-2019-0758.pem
test___all__.py bpo-47061: deprecate the aifc module (GH-32134) 2022-04-05 12:05:48 -07:00
test___future__.py
test__locale.py gh-91156: Use locale.getencoding() instead of getpreferredencoding (GH-91732) 2022-04-22 10:39:24 +09:00
test__opcode.py gh-90997: bpo-46841: Disassembly of quickened code (GH-32099) 2022-04-19 09:45:08 +01:00
test__osx_support.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
test__xxsubinterpreters.py bpo-40280: Skip more tests on Emscripten (GH-31947) 2022-03-17 12:09:57 +01:00
test_abc.py bpo-43827: Make arguments to abc.ABCMeta.__new__ pos-only (#25385) 2022-05-05 06:40:01 -07:00
test_abstract_numbers.py
test_aifc.py Deprecate audioop (GH-32392) 2022-04-07 12:27:35 -07:00
test_argparse.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
test_array.py bpo-45668: Fix PGO tests without test extensions (GH-29315) 2021-11-01 11:14:53 +01:00
test_asdl_parser.py bpo-43798: Add source location attributes to alias (GH-25324) 2021-04-10 22:56:28 +02:00
test_ast.py bpo-43224: Implement PEP 646 grammar changes (GH-31018) 2022-03-26 09:55:35 -07:00
test_asyncgen.py bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) 2022-03-22 03:04:36 -07:00
test_asynchat.py gh-92169: Use warnings_helper.import_deprecated() to import deprecated modules uniformly in tests (GH-92170) 2022-05-03 10:17:54 +03:00
test_asyncore.py gh-92169: Use warnings_helper.import_deprecated() to import deprecated modules uniformly in tests (GH-92170) 2022-05-03 10:17:54 +03:00
test_atexit.py bpo-42639: atexit._run_exitfuncs() uses sys.unraisablehook (GH-23779) 2020-12-15 17:12:02 +01:00
test_audioop.py Deprecate audioop (GH-32392) 2022-04-07 12:27:35 -07:00
test_audit.py bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615) 2022-01-25 08:09:06 +01:00
test_augassign.py
test_base64.py bpo-35970: Add help flag to base64 module (GH-28774) 2021-10-06 18:38:43 -07:00
test_baseexception.py Doc: Prettier exception hierarchy. (GH-26533) 2021-06-11 08:53:52 +02:00
test_bdb.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03: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 bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_binascii.py bpo-38256: Fix binascii.crc32() when inputs are 4+GiB (GH-32000) 2022-03-20 12:28:15 -07:00
test_binop.py
test_bisect.py
test_bool.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_buffer.py
test_bufio.py
test_builtin.py gh-90473: Increase stack size, disable obmalloc on WASI (GH-92732) 2022-05-13 00:00:33 -07:00
test_bytes.py bpo-26579: Add object.__getstate__(). (GH-2821) 2022-04-06 20:00:14 +03:00
test_bz2.py bpo-40280: Detect missing threading on WASM platforms (GH-32352) 2022-04-07 09:22:47 +02:00
test_c_locale_coercion.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_calendar.py bpo-46484:Add test for Calendar.iterweekdays (GH-30825) 2022-04-04 18:16:56 +01:00
test_call.py bpo-45155 : Default arguments for int.to_bytes(length=1, byteorder=sys.byteorder) (#28265) 2021-09-15 19:55:24 -07:00
test_capi.py gh-82616: Add process_group support to subprocess.Popen (#23930) 2022-05-05 16:22:32 -07:00
test_cgi.py bpo-47061: deprecate cgi and cgitb (GH-32410) 2022-04-08 17:15:35 -07:00
test_cgitb.py bpo-47061: deprecate cgi and cgitb (GH-32410) 2022-04-08 17:15:35 -07:00
test_charmapcodec.py
test_check_c_globals.py
test_class.py bpo-43857: Improve the AttributeError message when deleting a missing attribute (#25424) 2022-05-05 06:37:26 -07:00
test_clinic.py bpo-42398: Fix "make regen-all" race condition (GH-23362) 2020-11-18 15:36:27 +01:00
test_cmath.py bpo-45668: Fix PGO tests without test extensions (GH-29315) 2021-11-01 11:14:53 +01:00
test_cmd.py gh-67248: cmd: Sort miscellaneous help topics (#92254) 2022-05-03 21:36:52 -06:00
test_cmd_line.py gh-57684: Update tests for PYTHONSAFEPATH=1 (#92358) 2022-05-06 03:41:24 +02:00
test_cmd_line_script.py gh-57684: Update tests for PYTHONSAFEPATH=1 (#92358) 2022-05-06 03:41:24 +02:00
test_code.py GH-88116: Document that PyCodeNew is dangerous, and make PyCode_NewEmpty less dangerous. (GH-91790) 2022-04-21 19:08:36 +01:00
test_code_module.py
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
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-81548: Deprecate octal escape sequences with value larger than 0o377 (GH-91668) 2022-04-30 13:16:27 +03:00
test_codeop.py bpo-28395: Remove unnecessary semicolons in tests (GH-26868) 2021-06-23 18:01:06 +09:00
test_collections.py gh-92107: Add tests that subscription works on arbitrary named tuple types (GH-92304) 2022-05-04 17:06:50 +03:00
test_colorsys.py
test_compare.py
test_compile.py GH-88116: Use a compact format to represent end line and column offsets. (GH-91666) 2022-04-21 16:10:37 +01:00
test_compileall.py bpo-47089: Avoid test_compileall failures on Windows (GH-32037) 2022-04-01 20:13:01 +02:00
test_complex.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_concurrent_futures.py gh-90622: Do not spawn ProcessPool workers on demand via fork method. (GH-91598) (#92495) 2022-05-08 10:14:14 -07:00
test_configparser.py gh-90765: configparser test: Catch deprecation warning (#91480) 2022-05-02 11:22:26 -06:00
test_contains.py
test_context.py bpo-40280: Detect missing threading on WASM platforms (GH-32352) 2022-04-07 09:22:47 +02:00
test_contextlib.py gh-92118: Add test for traceback when exception is modified by (Async)ExitStack.__exit__ (GH-92339) 2022-05-05 17:39:33 +01:00
test_contextlib_async.py gh-92118: Add test for traceback when exception is modified by (Async)ExitStack.__exit__ (GH-92339) 2022-05-05 17:39:33 +01:00
test_copy.py bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) 2021-08-29 14:04:40 +03:00
test_copyreg.py
test_coroutines.py bpo-40280: Skip more tests on Emscripten (GH-31947) 2022-03-17 12:09:57 +01:00
test_cppext.py gh-92135: test_cppext requires subprocess (GH-92349) 2022-05-06 00:08:43 +02:00
test_cprofile.py
test_crashers.py
test_crypt.py gh-91217: deprecate crypt (GH-91459) 2022-04-11 17:02:19 -07:00
test_csv.py bpo-20028: Empty escapechar/quotechar is not allowed for csv.Dialect (GH-28833) 2021-10-11 20:08:15 +09:00
test_ctypes.py
test_curses.py gh-91914: Fix test_curses on non-UTF-8 locale (GH-91919) 2022-04-26 07:59:56 +03:00
test_dataclasses.py Add weakref_slot to dataclass decorator, to allow instances with slots to be weakref-able. (#92160) 2022-05-02 10:36:39 -06:00
test_datetime.py Revert "Revert "bpo-45229: Make datetime tests discoverable (GH-28615)" (GH-28650)" (GH-28667) 2021-10-01 10:57:58 +03:00
test_dbm.py bpo-45500: Rewrite test_dbm (GH-29002) 2021-10-19 21:11:28 +02:00
test_dbm_dumb.py bpo-40563: Support pathlike objects on dbm/shelve (GH-21849) 2021-09-10 15:26:16 +03:00
test_dbm_gnu.py bpo-40563: Support pathlike objects on dbm/shelve (GH-21849) 2021-09-10 15:26:16 +03:00
test_dbm_ndbm.py bpo-40563: Support pathlike objects on dbm/shelve (GH-21849) 2021-09-10 15:26:16 +03:00
test_decimal.py gh-91821: Make decimal test succeed consistently (#91825) 2022-04-24 15:02:57 -07:00
test_decorators.py bpo-46764: Fix wrapping bound method with @classmethod (#31367) 2022-05-04 23:00:21 -05:00
test_defaultdict.py
test_deque.py bpo-26579: Add object.__getstate__(). (GH-2821) 2022-04-06 20:00:14 +03:00
test_descr.py gh-92112: Fix crash triggered by an evil custom mro() (#92113) 2022-05-05 21:01:15 -07:00
test_descrtut.py bpo-26579: Add object.__getstate__(). (GH-2821) 2022-04-06 20:00:14 +03: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 bpo-46198: rename duplicate tests and remove unused code (GH-30297) 2022-03-10 08:20:11 -08:00
test_dict_version.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
test_dictcomps.py
test_dictviews.py
test_difflib.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_difflib_expect.html
test_dis.py gh-92619: Fix bug where the compiler duplicates exit blocks unnecessarily (GH-92620) (GH-92621) 2022-05-10 22:01:17 +01:00
test_distutils.py gh-82616: Add process_group support to subprocess.Popen (#23930) 2022-05-05 16:22:32 -07:00
test_doctest.py bpo-2604: Make doctest.DocTestCase reset globs in teardown (GH-31932) 2022-03-22 14:01:15 -07:00
test_doctest.txt
test_doctest2.py bpo-45229: Make doctest tests discoverable (GH-28986) 2021-10-20 16:36:27 +02:00
test_doctest2.txt
test_doctest3.txt
test_doctest4.txt
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 bpo-46425: Fix direct invocation of multiple test modules (GH-30666) 2022-01-18 21:28:18 +02:00
test_dynamic.py gh-91625: Don't ignore extended args of adaptive opcodes (GH-91626) 2022-04-17 14:04:29 -04:00
test_dynamicclassattribute.py
test_eintr.py bpo-42639: atexit._run_exitfuncs() uses sys.unraisablehook (GH-23779) 2020-12-15 17:12:02 +01:00
test_embed.py gh-92031, test_embed: Improve test for unquickening static code (GH-92440) 2022-05-11 16:22:45 -07:00
test_ensurepip.py bpo-42856: Add --with-wheel-pkg-dir=PATH configure option (GH-24210) 2021-01-20 17:07:21 +01:00
test_enum.py gh-78157: [Enum] nested classes will not be members in 3.13 (GH-92366) 2022-05-06 00:16:22 -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 bpo-44396: Update multi-line-start location when reallocating tokenizer buffers (GH-26676) 2021-06-12 10:53:49 -07:00
test_epoll.py bpo-41804: Enhance test_epoll.test_control_and_wait() (GH-23795) 2020-12-16 11:16:25 +01:00
test_errno.py
test_except_star.py bpo-46219, 46221: simplify except* implementation following exc_info changes. Move helpers to exceptions.c. Do not assume that exception groups are truthy. (GH-30289) 2022-01-02 23:22:42 +00:00
test_exception_group.py gh-89770: Implement PEP-678 - Exception notes (GH-31317) 2022-04-16 19:59:52 +01:00
test_exception_hierarchy.py bpo-42413: socket.timeout is now an alias of TimeoutError (GH-23413) 2020-11-20 00:26:07 -08: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-88116: Use a compact format to represent end line and column offsets. (GH-91666) 2022-04-21 16:10:37 +01:00
test_extcall.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_faulthandler.py bpo-40280: Address more test failures on Emscripten (GH-31050) 2022-02-05 20:52:01 +01:00
test_fcntl.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_file.py bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) 2021-08-29 14:04:40 +03: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 bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_fileinput.py bpo-45132 Remove deprecated __getitem__ methods (GH-28225) 2021-09-08 13:07:40 +03:00
test_fileio.py bpo-40280: Address more test failures on Emscripten (GH-31050) 2022-02-05 20:52:01 +01: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 bpo-45995: add "z" format specifer to coerce negative 0 to zero (GH-30049) 2022-04-11 15:34:18 +01:00
test_flufl.py Fix mistake in barry_as_FLUFL test (GH-31392) 2022-02-17 20:45:35 -05:00
test_fnmatch.py bpo-47080: Use atomic groups to simplify fnmatch (GH-32029) 2022-03-21 12:49:43 -05:00
test_fork1.py bpo-40280: Add requires_fork test helper (GH-30622) 2022-01-16 22:52:43 +01:00
test_format.py bpo-45995: add "z" format specifer to coerce negative 0 to zero (GH-30049) 2022-04-11 15:34:18 +01:00
test_fractions.py bpo-44547: Make Fractions objects instances of typing.SupportsInt (GH-27851) 2021-10-22 00:09:47 +02:00
test_frame.py Do not clear globals or builtins when calling clear() on a frame object. Reverts behavior to that of 3.10 and earlier. (GH-26768) 2021-06-17 16:29:15 +01: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 bpo-47129: Add more informative messages to f-string syntax errors (32127) 2022-03-28 17:08:36 -04:00
test_ftplib.py gh-92169: Use warnings_helper.import_deprecated() to import deprecated modules uniformly in tests (GH-92170) 2022-05-03 10:17:54 +03:00
test_funcattrs.py bpo-42990: Functions inherit current builtins (GH-24564) 2021-02-20 15:17:18 +01:00
test_functools.py gh-90172: add test for functools.singledispatch on Union types with None type (#92174) 2022-05-03 13:17:43 -06:00
test_future.py bpo-43224: Implement PEP 646 grammar changes (GH-31018) 2022-03-26 09:55:35 -07:00
test_future3.py
test_future4.py
test_future5.py
test_gc.py gh-91636: Don't clear required fields of function objects (GH-91651) 2022-04-21 02:06:35 -04:00
test_gdb.py Do not run test_gdb when gdb embeds Python 2. (GH-31956) 2022-03-17 18:00:56 +09:00
test_generator_stop.py
test_generators.py bpo-46409: Make generators in bytecode (GH-30633) 2022-01-20 11:46:39 +00:00
test_genericalias.py gh-92261: Disallow iteration of Union (and other special forms) (GH-92262) (GH-92582) 2022-05-10 08:39:31 +03:00
test_genericclass.py gh-92114: Improve error message for types with __class_getitem__ = None (GH-92115) 2022-05-02 08:29:49 +03:00
test_genericpath.py bpo-40280: Block more non-working syscalls in Emscripten (GH-31757) 2022-03-08 12:17:30 +01:00
test_genexps.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_getargs2.py bpo-40943: Fix skipitem() didn't raise SystemError (GH-25937) 2021-05-07 11:56:48 +09:00
test_getopt.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
test_getpass.py bpo-40280: Address more test failures on Emscripten (GH-31050) 2022-02-05 20:52:01 +01:00
test_getpath.py bpo-46890: Fix setting of sys._base_executable with framework builds on macOS (GH-31958) 2022-04-05 02:05:36 -04:00
test_gettext.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
test_glob.py bpo-37578: glob.glob -- added include_hidden parameter (GH-30153) 2021-12-18 06:23:34 -08:00
test_global.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
test_grammar.py gh-87999: Change warning type for numeric literal followed by keyword (GH-91980) 2022-04-27 20:15:14 +03:00
test_graphlib.py no-issue: remove unused import from test_graphlib.py (GH-29853) 2021-11-30 11:27:37 +09:00
test_grp.py
test_gzip.py bpo-46267: Test compresslevel in gzip.compress (#30416) 2022-05-02 23:11:06 -06: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 bpo-40280: Detect missing threading on WASM platforms (GH-32352) 2022-04-07 09:22:47 +02:00
test_heapq.py bpo-28395: Remove unnecessary semicolons in tests (GH-26868) 2021-06-23 18:01:06 +09:00
test_hmac.py bpo-43988: Use check disallow instantiation helper (GH-26392) 2021-05-27 08:43:52 +02:00
test_html.py
test_htmlparser.py bpo-41748: Handles unquoted attributes with commas (#24072) 2021-02-01 21:32:50 +01:00
test_http_cookiejar.py bpo-42066: CookieJar cookies should not be sorted (GH-22745) 2022-04-20 20:45:24 -05:00
test_http_cookies.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_httplib.py bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) 2022-03-22 03:04:36 -07:00
test_httpservers.py bpo-47061: deprecate cgi and cgitb (GH-32410) 2022-04-08 17:15:35 -07:00
test_idle.py Add skips to crashing tests under sanitizers instead of manually skipping them (GH-30897) 2022-01-25 23:14:03 +00:00
test_imaplib.py bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) 2022-03-22 03:04:36 -07:00
test_imghdr.py gh-91217: deprecate imghdr (#91461) 2022-04-13 10:47:41 -07:00
test_imp.py gh-92169: Use warnings_helper.import_deprecated() to import deprecated modules uniformly in tests (GH-92170) 2022-05-03 10:17:54 +03:00
test_index.py
test_inspect.py gh-92062: inspect.Parameter checks whether name is a keyword (GH-92065) 2022-05-03 13:52:30 -07:00
test_int.py bpo-44977: Deprecate delegation of int to __trunc__ (GH-31031) 2022-02-03 11:43:25 +02:00
test_int_literal.py
test_interpreters.py bpo-40280: Skip more tests on Emscripten (GH-31947) 2022-03-17 12:09:57 +01:00
test_io.py gh-91156: Use locale.getencoding() instead of getpreferredencoding (GH-91732) 2022-04-22 10:39:24 +09:00
test_ioctl.py
test_ipaddress.py bpo-29890: Test IPv*Interface construction with tuple argument (#30862) 2022-05-03 11:21:24 -06:00
test_isinstance.py gh-91603: Speed up isinstance/issubclass on union types (GH-91631) 2022-04-28 23:24:19 +08:00
test_iter.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_iterlen.py
test_itertools.py bpo-40280: Detect missing threading on WASM platforms (GH-32352) 2022-04-07 09:22:47 +02:00
test_keyword.py
test_keywordonlyarg.py
test_kqueue.py
test_largefile.py
test_launcher.py bpo-47239: Fixes py.exe output when run in a virtual environment. (GH-32364) 2022-04-07 00:09:54 +01:00
test_lib2to3.py bpo-40360: Deprecate the lib2to3 package (GH-28116) 2021-09-02 11:46:47 +02:00
test_linecache.py bpo-25872: Add unit tests for linecache and threading (GH-25913) 2021-05-18 09:56:52 +01:00
test_list.py bpo-43413: Fix handling keyword arguments in subclasses of some buitin classes (GH-26456) 2021-09-12 13:27:50 +03:00
test_listcomps.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_lltrace.py gh-78607: Replace __ltrace__ with __lltrace__ (GH-91619) 2022-04-16 18:57:00 -04:00
test_locale.py gh-91156: Use locale.getencoding() instead of getpreferredencoding (GH-91732) 2022-04-22 10:39:24 +09:00
test_logging.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
test_long.py gh-90213: Speed up right shifts of negative integers (GH-30277) 2022-05-02 11:19:03 -06:00
test_longexp.py
test_lzma.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_mailbox.py bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) 2022-03-22 03:04:36 -07:00
test_mailcap.py gh-68966: Deprecate the mailcap module (#91951) 2022-04-26 22:43:50 +02:00
test_marshal.py GH-88116: Use a compact format to represent end line and column offsets. (GH-91666) 2022-04-21 16:10:37 +01:00
test_math.py bpo-37295: Use constant-time comb() and perm() for larger n depending on k (GH-30305) 2022-01-09 15:32:25 +02:00
test_memoryio.py
test_memoryview.py
test_metaclass.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_mimetypes.py bpo-45639: Add webp and avif image formats to mimetypes (#29259) 2022-05-03 15:17:57 -06:00
test_minidom.py bpo-46811: Make test suite support Expat >=2.4.5 (GH-31453) 2022-02-21 15:48:32 +01:00
test_mmap.py bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) 2022-03-22 03:04:36 -07:00
test_module.py bpo-46891: Fix creating a new instance of a module subclass with slots (GH-31643) 2022-03-03 10:38:27 +00:00
test_modulefinder.py
test_msilib.py gh-91217: deprecate msilib (GH-91515) 2022-04-14 12:50:11 -07:00
test_multibytecodec.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_multiprocessing_fork.py
test_multiprocessing_forkserver.py
test_multiprocessing_main_handling.py
test_multiprocessing_spawn.py
test_named_expressions.py bpo-43017: Improve error message for unparenthesised tuples in comprehensions (GH24314) 2021-01-31 22:52:56 +00:00
test_netrc.py gh-91915: Fix test_netrc on non-UTF-8 locale (GH-91918) 2022-04-26 07:58:41 +03:00
test_nis.py gh-91217: deprecate nis (GH-91606) 2022-04-16 13:17:30 -07:00
test_nntplib.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
test_ntpath.py bpo-40280: Skip more tests on Emscripten (GH-31947) 2022-03-17 12:09:57 +01:00
test_numeric_tower.py
test_opcache.py bpo-42266: Handle monkey-patching descriptors in LOAD_ATTR cache (GH-23157) 2020-11-05 09:23:15 +00:00
test_opcodes.py bpo-43901: Lazy-create an empty annotations dict in all unannotated user classes and modules (#25623) 2021-04-29 20:09:08 -07:00
test_openpty.py
test_operator.py bpo-44019: Add test_all_exported_names for operator module (GH-29124) 2021-10-22 07:58:04 +09:00
test_optparse.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_ordered_dict.py bpo-26579: Add object.__getstate__(). (GH-2821) 2022-04-06 20:00:14 +03:00
test_os.py bpo-46785: Fix race condition between os.stat() and unlink on Windows (GH-31858) 2022-05-03 00:19:13 +01:00
test_ossaudiodev.py gh-91217: deprecate sunau (GH-91866) 2022-04-25 16:26:43 -07:00
test_osx_env.py
test_pathlib.py gh-92550: Fix pathlib.Path.rglob() for empty pattern (GH-92604) 2022-05-10 22:13:11 -07:00
test_patma.py bpo-45045: Optimize mapping patterns of structural pattern matching (GH-28043) 2021-08-30 19:02:32 +09:00
test_pdb.py gh-57684: Update tests for PYTHONSAFEPATH=1 (#92358) 2022-05-06 03:41:24 +02:00
test_peepholer.py bpo-47120: make POP_JUMP_IF_TRUE/FALSE/NONE/NOT_NONE relative (GH-32400) 2022-04-11 10:40:24 +01:00
test_pep646_syntax.py bpo-43224: Implement PEP 646 grammar changes (GH-31018) 2022-03-26 09:55:35 -07:00
test_pickle.py bpo-45292: [PEP 654] add the ExceptionGroup and BaseExceptionGroup classes (GH-28569) 2021-10-23 00:13:46 +01:00
test_picklebuffer.py
test_pickletools.py bpo-45229: Make pickle tests discoverable (GH-28467) 2021-09-20 18:21:33 +03:00
test_pipes.py gh-91217: deprecate-pipes (GH-91779) 2022-04-21 19:28:34 -07:00
test_pkg.py
test_pkgutil.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_platform.py bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) 2022-03-22 03:04:36 -07:00
test_plistlib.py bpo-42095: plistlib: Add tests that compare with plutil(1) (#27173) 2021-07-17 12:11:04 +02:00
test_poll.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07: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-92169: Use warnings_helper.import_deprecated() to import deprecated modules uniformly in tests (GH-92170) 2022-05-03 10:17:54 +03:00
test_positional_only_arg.py bpo-38605: Revert making 'from __future__ import annotations' the default (GH-25490) 2021-04-21 12:41:19 +01:00
test_posix.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
test_posixpath.py bpo-46208: Fix normalization of relative paths in _Py_normpath()/os.path.normpath (GH-30362) 2022-01-06 19:13:10 +00:00
test_pow.py bpo-46218: Change long_pow() to sliding window algorithm (GH-30319) 2022-01-02 13:18:20 -06:00
test_pprint.py bpo-41546: make pprint (like print) not write to stdout when it is None (GH-26810) 2021-07-19 10:19:02 +01:00
test_print.py bpo-34013: Move the Python 2 hints from the exception constructor to the parser (GH-27392) 2021-07-27 21:30:32 +01:00
test_profile.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_property.py Use raw string to avoid deprecation warning (GH-31427) 2022-02-19 00:57:36 -05:00
test_pstats.py bpo-38659: [Enum] add _simple_enum decorator (GH-25497) 2021-04-21 10:20:44 -07:00
test_pty.py bpo-46198: rename duplicate tests and remove unused code (GH-30297) 2022-03-10 08:20:11 -08:00
test_pulldom.py bpo-45132 Remove deprecated __getitem__ methods (GH-28225) 2021-09-08 13:07:40 +03:00
test_pwd.py bpo-40280: Address more test failures on Emscripten (GH-31050) 2022-02-05 20:52:01 +01:00
test_py_compile.py bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615) 2022-01-25 08:09:06 +01:00
test_pyclbr.py Deprecate audioop (GH-32392) 2022-04-07 12:27:35 -07:00
test_pydoc.py bpo-46998: Allow subclassing Any at runtime (GH-31841) 2022-04-04 19:35:29 -07:00
test_pyexpat.py bpo-40280: Address more test failures on Emscripten (GH-31050) 2022-02-05 20:52:01 +01:00
test_queue.py bpo-40280: Detect missing threading on WASM platforms (GH-32352) 2022-04-07 09:22:47 +02: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 bpo-23556: [doc] Fix inaccuracy in documentation for raise without args. Improve tests for context in nested except handlers. (GH-29236) 2022-01-27 10:24:48 +00:00
test_random.py bpo-46737: Add default arguments to random.gauss and normalvariate (GH-31360) 2022-02-15 17:12:15 -06:00
test_range.py bpo-45030: Fix integer overflow in __reduce__ of the range iterator (GH-28000) 2021-09-04 21:02:21 +03:00
test_re.py gh-91760: Deprecate group names and numbers which will be invalid in future (GH-91794) 2022-04-30 13:13:46 +03:00
test_readline.py bpo-45195: Fix test_readline.test_nonascii() (GH-28329) 2021-09-14 17:38:04 +02:00
test_regrtest.py gh-91904: Fix setting envvar PYTHONREGRTEST_UNICODE_GUARD (GH-91905) 2022-04-25 17:35:14 +03:00
test_repl.py bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615) 2022-01-25 08:09:06 +01:00
test_reprlib.py bpo-39549: reprlib.Repr uses a “fillvalue” attribute (GH-18343) 2021-09-22 15:45:58 -05:00
test_resource.py bpo-40280: Address more test failures on Emscripten (GH-31050) 2022-02-05 20:52:01 +01:00
test_richcmp.py
test_rlcompleter.py gh-92032: Add soft keywords to rlcompleter (#92029) 2022-05-02 16:36:29 -06:00
test_robotparser.py gh-84461: Skip network require tests on Emscripten (GH-92383) 2022-05-06 12:08:36 +02:00
test_runpy.py gh-57684: Update tests for PYTHONSAFEPATH=1 (#92358) 2022-05-06 03:41:24 +02:00
test_sax.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_sched.py bpo-40280: Detect missing threading on WASM platforms (GH-32352) 2022-04-07 09:22:47 +02:00
test_scope.py bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) 2021-08-29 14:04:40 +03:00
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 bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) 2022-03-22 03:04:36 -07:00
test_selectors.py bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) 2022-03-22 03:04:36 -07:00
test_set.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
test_setcomps.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_shelve.py bpo-45502: Fix test_shelve (GH-29003) 2021-10-22 16:14:58 +02:00
test_shlex.py
test_shutil.py bpo-46245: Add optional parameter dir_fd in shutil.rmtree() (GH-30365) 2022-03-09 14:29:33 +02:00
test_signal.py gh-64783: Don't check value of SIG_DFL and SIG_IGN (#92350) 2022-05-06 00:07:53 +02:00
test_site.py bpo-47152: Convert the re module into a package (GH-32177) 2022-04-02 11:35:13 +03:00
test_slice.py
test_smtpd.py gh-92169: Use warnings_helper.import_deprecated() to import deprecated modules uniformly in tests (GH-92170) 2022-05-03 10:17:54 +03:00
test_smtplib.py gh-92169: Use warnings_helper.import_deprecated() to import deprecated modules uniformly in tests (GH-92170) 2022-05-03 10:17:54 +03:00
test_smtpnet.py
test_sndhdr.py gh-91217: deprecate-sndhdr (#91806) 2022-04-22 15:48:03 -07:00
test_socket.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
test_socketserver.py gh-84461: Skip network require tests on Emscripten (GH-92383) 2022-05-06 12:08:36 +02:00
test_sort.py
test_source_encoding.py bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615) 2022-01-25 08:09:06 +01:00
test_spwd.py gh-91217: deprecate spwd (#91846) 2022-04-23 14:48:17 -07:00
test_ssl.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
test_stable_abi_ctypes.py gh-91324: Convert the stable ABI manifest to TOML (GH-92026) 2022-04-29 16:18:08 +02:00
test_startfile.py bpo-43538: Add extra arguments to os.startfile (GH-25538) 2021-04-23 18:03:17 +01:00
test_stat.py bpo-31904: Fix fifo test cases for VxWorks (GH-20254) 2020-12-01 09:20:50 +01:00
test_statistics.py Fix inconsistent return type for statistics median_grouped() gh-92531 (GH-92533) (#92656) 2022-05-10 23:45:17 -05:00
test_strftime.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
test_string.py bpo-46307: Add string.Template.get_identifiers() method (GH-30493) 2022-01-11 11:15:42 -08:00
test_string_literals.py gh-81548: Deprecate octal escape sequences with value larger than 0o377 (GH-91668) 2022-04-30 13:16:27 +03:00
test_stringprep.py
test_strptime.py bpo-40280: Skip more tests on Emscripten (GH-31947) 2022-03-17 12:09:57 +01:00
test_strtod.py
test_struct.py bpo-45668: Fix PGO tests without test extensions (GH-29315) 2021-11-01 11:14:53 +01:00
test_structmembers.py
test_structseq.py bpo-42128: Add __match_args__ to structseq-based classes (GH-24732) 2021-03-04 00:03:44 +00:00
test_subclassinit.py
test_subprocess.py gh-82616: Add process_group support to subprocess.Popen (#23930) 2022-05-05 16:22:32 -07:00
test_sunau.py gh-91217: deprecate sunau (GH-91866) 2022-04-25 16:26:43 -07:00
test_sundry.py bpo-45124: Remove the bdist_msi command (GH-28195) 2021-09-07 12:34:27 +02:00
test_super.py bpo-46921: Vectorcall support for super() (GH-31687) 2022-03-06 14:21:28 +08:00
test_support.py gh-57684: Add -P cmdline option and PYTHONSAFEPATH env var (#31542) 2022-05-06 01:34:11 +02:00
test_symtable.py bpo-42355: symtable.get_namespace() now checks whether there are multiple or any namespaces found (GH-23278) 2021-07-18 15:56:09 +03:00
test_syntax.py bpo-47212: Improve error messages for un-parenthesized generator expressions (GH-32302) 2022-04-05 14:47:13 +01:00
test_sys.py gh-57684: Add -P cmdline option and PYTHONSAFEPATH env var (#31542) 2022-05-06 01:34:11 +02:00
test_sys_setprofile.py
test_sys_settrace.py gh-92311: Add tests for frame_setlineno jumping over listcomps (GH-92741) 2022-05-13 23:19:00 -07:00
test_sysconfig.py gh-91670: Removes SO config variable in sysconfig.py (#91671) 2022-04-18 14:01:18 -07:00
test_syslog.py
test_tabnanny.py bpo-46198: rename duplicate tests and remove unused code (GH-30297) 2022-03-10 08:20:11 -08:00
test_tarfile.py bpo-40280: Skip more tests/features that don't apply to Emscripten (GH-31791) 2022-03-10 13:43:40 +01:00
test_tcl.py gh-91827: Add method info_pathlevel() in tkinter (GH-91829) 2022-05-06 13:50:38 +03:00
test_telnetlib.py gh-91217: deprecate telnetlib (GH-91958) 2022-04-26 10:45:08 -07:00
test_tempfile.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
test_textwrap.py
test_thread.py bpo-40280: Detect missing threading on WASM platforms (GH-32352) 2022-04-07 09:22:47 +02: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 bpo-40280: Detect missing threading on WASM platforms (GH-32352) 2022-04-07 09:22:47 +02:00
test_threading_local.py bpo-40280: Detect missing threading on WASM platforms (GH-32352) 2022-04-07 09:22:47 +02:00
test_threadsignals.py bpo-40280: Detect missing threading on WASM platforms (GH-32352) 2022-04-07 09:22:47 +02:00
test_time.py bpo-40280: Skip more tests on Emscripten (GH-31947) 2022-03-17 12:09:57 +01:00
test_timeit.py
test_timeout.py gh-84461: Skip network require tests on Emscripten (GH-92383) 2022-05-06 12:08:36 +02:00
test_tix.py Add skips to crashing tests under sanitizers instead of manually skipping them (GH-30897) 2022-01-25 23:14:03 +00:00
test_tk.py Add skips to crashing tests under sanitizers instead of manually skipping them (GH-30897) 2022-01-25 23:14:03 +00:00
test_tokenize.py Remove trailing spaces (GH-31695) 2022-03-05 17:47:00 +02:00
test_trace.py bpo-37971: fix the position of decorator application (GH-30027) 2021-12-11 00:45:02 +01:00
test_traceback.py GH-88116: Use a compact format to represent end line and column offsets. (GH-91666) 2022-04-21 16:10:37 +01:00
test_tracemalloc.py bpo-40280: Misc fixes for wasm32-emscripten (GH-30722) 2022-01-20 18:56:33 +01:00
test_ttk_guionly.py Add skips to crashing tests under sanitizers instead of manually skipping them (GH-30897) 2022-01-25 23:14:03 +00:00
test_ttk_textonly.py bpo-45229: Make tkinter tests discoverable (GH-28637) 2021-10-13 18:12:48 +02:00
test_tuple.py bpo-43413: Fix handling keyword arguments in subclasses of some buitin classes (GH-26456) 2021-09-12 13:27:50 +03:00
test_turtle.py bpo-44734: Fix floating point precision in test_turtle (GH-30910) 2022-01-27 14:57:55 +01:00
test_type_annotations.py bpo-45060: Get rid of few uses of the equality operators with None (GH-28087) 2021-08-31 16:59:52 +03:00
test_type_cache.py bpo-44914: Add tests for some invariants of tp_version_tag (GH-27774) 2021-08-16 20:18:36 +01:00
test_type_comments.py
test_typechecks.py
test_types.py gh-91603: Speed up isinstance/issubclass on union types (GH-91631) 2022-04-28 23:24:19 +08:00
test_typing.py gh-92261: Disallow iteration of Union (and other special forms) (GH-92262) (GH-92582) 2022-05-10 08:39:31 +03:00
test_ucn.py
test_unary.py
test_unicode.py gh-91576: Speed up iteration of strings (#91574) 2022-04-18 07:18:27 -07:00
test_unicode_file.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_unicode_file_functions.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_unicode_identifiers.py
test_unicodedata.py closes bpo-45190: Update Unicode data to version 14.0.0. (GH-28336) 2021-09-14 11:00:38 -07:00
test_unittest.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_univnewlines.py
test_unpack.py gh-91625: Don't ignore extended args of adaptive opcodes (GH-91626) 2022-04-17 14:04:29 -04:00
test_unpack_ex.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_unparse.py bpo-47131: Speedup AST comparisons in test_unparse by using node traversal (GH-32132) 2022-04-02 02:54:04 +01:00
test_urllib.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 08:12:19 -07:00
test_urllib2.py bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) 2022-03-22 03:04:36 -07:00
test_urllib2_localnet.py gh-87497: Document that urllib.request sends headers in camel case (GH-24661) 2022-04-13 19:19:16 -07:00
test_urllib2net.py bpo-46178: Remove/rename redundant Travis CI code (#30309) 2021-12-30 16:16:27 -08:00
test_urllib_response.py
test_urllibnet.py
test_urlparse.py Speed up test_urlsplit_normalization (GH-26688) 2021-07-22 10:45:53 +03:00
test_userdict.py
test_userlist.py
test_userstring.py bpo-44110: Improve string's __getitem__ error message (GH-26042) 2021-06-27 15:04:57 +03:00
test_utf8_mode.py bpo-47000: Add locale.getencoding() (GH-32068) 2022-04-09 09:54:54 +09:00
test_utf8source.py
test_uu.py gh-91217: deprecate uu (GH-92009) 2022-04-27 20:26:33 -07:00
test_uuid.py bpo-40280: Add requires_fork test helper (GH-30622) 2022-01-16 22:52:43 +01:00
test_venv.py bpo-43218: Prevent venv creation when the target directory contains a PATH separator. (GH-24530) 2022-04-13 09:07:10 +01:00
test_wait3.py bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) 2022-03-22 03:04:36 -07:00
test_wait4.py bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) 2022-03-22 03:04:36 -07:00
test_wave.py Deprecate audioop (GH-32392) 2022-04-07 12:27:35 -07:00
test_weakref.py bpo-40280: Detect missing threading on WASM platforms (GH-32352) 2022-04-07 09:22:47 +02:00
test_weakset.py bpo-26579: Add object.__getstate__(). (GH-2821) 2022-04-06 20:00:14 +03:00
test_webbrowser.py bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615) 2022-01-25 08:09:06 +01:00
test_winconsoleio.py bpo-45354: Skip obsolete device name tests on Windows 11 (GH-28712) 2021-10-05 13:17:13 +01:00
test_winreg.py [codemod] Fix non-matching bracket pairs (GH-28473) 2021-09-22 01:09:00 +02:00
test_winsound.py
test_with.py bpo-12022: Change error type for bad objects in "with" and "async with" (GH-26809) 2021-06-29 11:27:04 +03:00
test_wsgiref.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
test_xdrlib.py gh-91217: deprecate xdrlib (GH-92066) 2022-04-29 18:22:10 -07:00
test_xml_dom_minicompat.py
test_xml_etree.py [3.11] gh-91810: ElementTree: Use text file's encoding by default in XML declaration (GH-91903) (GH-92663) 2022-05-11 10:36:52 -07:00
test_xml_etree_c.py bpo-27946: Fix possible crash in ElementTree.Element (GH-29915) 2021-12-05 14:22:54 +02:00
test_xmlrpc.py bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) 2022-03-22 03:04:36 -07:00
test_xmlrpc_net.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +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
test_zipapp.py
test_zipfile.py gh-91917: Fix test_zipfile on non-UTF-8 locale (GH-91921) 2022-04-26 08:01:33 +03:00
test_zipfile64.py bpo-46425: Fix direct invocation of multiple test modules (GH-30666) 2022-01-18 21:28:18 +02:00
test_zipimport.py bpo-46411: Remove unnecessary calls to sys.exc_info() in tests (GH-30638) 2022-01-18 07:05:16 +00:00
test_zipimport_support.py
test_zlib.py bpo-46623: Skip two test_zlib tests on s390x (GH-31096) 2022-02-25 00:32:02 +01:00
testcodec.py
testtar.tar
testtar.tar.xz bpo-8978: improve tarfile.open error message when lzma / bz2 are missing (GH-24850) 2021-04-27 10:39:01 -07:00
tf_inherit_check.py
time_hashlib.py
tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt
tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt
tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt
tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt
tokenize_tests.txt
win_console_handler.py
xmltests.py
zip_cp437_header.zip
zipdir.zip