cpython/Lib/test
Eric Snow 79cf20e48d
bpo-21736: Set __file__ on frozen stdlib modules. (gh-28656)
Currently frozen modules do not have __file__ set.  In their spec, origin is set to "frozen" and they are marked as not having a location.  (Similarly, for frozen packages __path__ is set to an empty list.)  However, for frozen stdlib modules we are able to extrapolate __file__ as long as we can determine the stdlib directory at runtime.  (We now do so since gh-28586.)  Having __file__ set is helpful for a number of reasons.  Likewise, having a non-empty __path__ means we can import submodules of a frozen package from the filesystem (e.g. we could partially freeze the encodings module).

This change sets __file__ (and adds to __path__) for frozen stdlib modules.  It uses sys._stdlibdir (from gh-28586) and the frozen module alias information (from gh-28655).  All that work is done in FrozenImporter (in Lib/importlib/_bootstrap.py). 
 Also, if a frozen module is imported before importlib is bootstrapped (during interpreter initialization) then we fix up that module and its spec during the importlib bootstrapping step (i.e. imporlib._bootstrap._setup()) to match what gets set by FrozenImporter, including setting the file info (if the stdlib dir is known).  To facilitate this, modules imported using PyImport_ImportFrozenModule() have __origname__ set using the frozen module alias info.  __origname__ is popped off during importlib bootstrap.

(To be clear, even with this change the new code to set __file__ during fixups in imporlib._bootstrap._setup() doesn't actually get triggered yet.  This is because sys._stdlibdir hasn't been set yet in interpreter initialization at the point importlib is bootstrapped.  However, we do fix up such modules at that point to otherwise match the result of importing through FrozenImporter, just not the __file__ and __path__ parts.  Doing so will require changes in the order in which things happen during interpreter initialization.  That can be addressed separately.  Once it is, the file-related fixup code from this PR will kick in.)

Here are things this change does not do:

* set __file__ for non-stdlib modules (no way of knowing the parent dir)
* set __file__ if the stdlib dir is not known (nor assume the expense of finding it)
* relatedly, set __file__ if the stdlib is in a zip file
* verify that the filename set to __file__ actually exists (too expensive)
* update __path__ for frozen packages that alias a non-package (since there is no package dir)

Other things this change skips, but we may do later:

* set __file__ on modules imported using PyImport_ImportFrozenModule()
* set co_filename when we unmarshal the frozen code object while importing the module (e.g. in FrozenImporter.exec_module()) -- this would allow tracebacks to show source lines
* implement FrozenImporter.get_filename() and FrozenImporter.get_source()

https://bugs.python.org/issue21736
2021-10-14 15:32:18 -06: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 bpo-31462: Remove trailing whitespaces. (#3564) 2017-09-14 09:38:36 +03:00
encoded_modules
imghdrdata bpo-44539: Support recognizing JPEG files without JFIF or Exif markers (GH-26964) 2021-07-20 20:56:57 +02:00
leakers
libregrtest bpo-45410: regrtest replaces print_warning.orig_stderr (GH-28926) 2021-10-13 17:35:21 +02:00
sndhdrdata Minor test cleanup (GH-837) 2017-03-27 00:08:31 -05:00
subprocessdata
support bpo-45410: regrtest -W leaves stdout/err FD unchanged (GH-28915) 2021-10-13 14:08:18 +02:00
test_asyncio bpo-45416: Fix use of asyncio.Condition() with explicit Lock objects (GH-28850) 2021-10-10 19:01:41 +03:00
test_email bpo-45239: Fix parsedate_tz when time has more than 2 dots in it (GH-28452) 2021-10-13 18:21:27 +02:00
test_import bpo-45020: Freeze os, site, and codecs. (gh-28398) 2021-09-17 16:31:31 -06:00
test_importlib bpo-21736: Set __file__ on frozen stdlib modules. (gh-28656) 2021-10-14 15:32:18 -06:00
test_json bpo-45269: test wrong markers type to c_make_encoder (GH-28540) 2021-09-28 23:18:00 +02:00
test_peg_generator bpo-45204: Reduce verbosity of test_peg_generator (GH-28360) 2021-09-15 20:16:51 +02:00
test_tools Fix EncodingWarning in test_tools. (GH-28846) 2021-10-10 09:14:40 +02:00
test_warnings bpo-43651: Fix EncodingWarning in test_warnings (GH-25126) 2021-04-02 08:57:05 +09:00
test_zoneinfo bpo-41025: Fix subclassing for zoneinfo.ZoneInfo (GH-20965) 2020-08-13 22:38:30 -04:00
tracedmodules
xmltestdata Add correct license for C14N test suite to license docs. (GH-13055) 2019-05-02 22:11:04 +02:00
ziptestdata bpo-28494: Test existing zipfile working behavior. (GH-15853) 2019-09-10 09:14:11 -07:00
__init__.py
__main__.py
_test_atexit.py bpo-42639: atexit._run_exitfuncs() uses sys.unraisablehook (GH-23779) 2020-12-15 17:12:02 +01: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-43950: Add option to opt-out of PEP-657 (GH-27023) 2021-07-07 20:07:12 +01:00
_test_multiprocessing.py bpo-45125: Improves pickling docs and tests for shared_memory (GH-28294) 2021-10-01 13:45:59 +03:00
_typed_dict_helper.py bpo-41249: Fix postponed annotations for TypedDict (GH-27017) 2021-07-16 20:49:30 -07: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
audiotest.au
audiotests.py bpo-40275: Use new test.support helper submodules in tests (GH-21219) 2020-06-30 15:46:06 +02:00
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 bpo-32225: Implementation of PEP 562 (#4731) 2017-12-14 11:59:44 +01:00
bad_getattr2.py bpo-32225: Implementation of PEP 562 (#4731) 2017-12-14 11:59:44 +01:00
bad_getattr3.py bpo-32225: Implementation of PEP 562 (#4731) 2017-12-14 11:59:44 +01:00
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 bpo-40003: test.bisect_cmd copies Python options (GH-19246) 2020-03-31 17:25:56 +02:00
cfgparser.1 bpo-30899: Add unittests, 100% coverage, for IDLE's two ConfigParser subclasses. (#2662) 2017-07-12 14:05:32 -04:00
cfgparser.2
cfgparser.3
clinic.test bpo-20201: variadic arguments support for AC (GH-18609) 2021-07-16 18:43:02 +03:00
cmath_testcases.txt
coding20731.py Revert an invalid change to a test (from 6b4be19). (#1770) 2017-05-23 16:40:03 -07:00
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 Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
dis_module.py
doctest_aliases.py
double_const.py
empty.vbs
exception_hierarchy.txt Doc: Prettier exception hierarchy. (GH-26533) 2021-06-11 08:53:52 +02:00
ffdh3072.pem bpo-34399: 2048 bits RSA keys and DH params (#8762) 2018-08-14 12:54:19 +02:00
final_a.py
final_b.py
floating_points.txt
fork_wait.py bpo-40275: Adding threading_helper submodule in test.support (GH-20263) 2020-05-28 00:10:27 +02:00
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 bpo-32225: Implementation of PEP 562 (#4731) 2017-12-14 11:59:44 +01:00
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 bpo-35113: Fix inspect.getsource to return correct source for inner classes (#10307) 2020-04-18 21:49:32 +05:30
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 bpo-38271: encrypt private key test files with AES256 (GH-16385) 2019-09-25 08:55:02 -07:00
keycert.pem bpo-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
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 bpo-41055: Remove outdated tests for the tp_print slot. (GH-21006) 2020-06-21 11:11:17 +03:00
lock_tests.py bpo-24391: Better reprs for threading objects. (GH-20534) 2021-09-29 13:07:58 +03:00
mailcap.txt
make_ssl_certs.py bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
mapping_tests.py bpo-2661: Make mapping tests better usable for custom mapping classes. (GH-11157) 2019-06-06 03:13:08 -07:00
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 bpo-42756: Configure LMTP Unix-domain socket to use global default timeout when timeout not provided (GH-23969) 2021-01-02 02:20:25 +09:00
mod_generics_cache.py bpo-28556: typing.get_type_hints: better globalns for classes and modules (#3582) 2017-09-14 14:33:00 -04:00
mp_fork_bomb.py
mp_preload.py Issue #28779: multiprocessing.set_forkserver_preload() would crash the forkserver process if a preloaded module instantiated some multiprocessing objects such as locks. 2016-12-10 17:13:16 +01:00
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 Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07: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
pydocfodder.py
pythoninfo.py bpo-44860: Update test_sysconfig for posix_user platlib (GH-28235) 2021-09-09 11:02:48 +02:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py bpo-36528: Remove duplicate re tests. (GH-2689) 2019-09-11 17:02:34 +01:00
recursion.tar bpo-39017: Avoid infinite loop in the tarfile module (GH-21454) 2020-07-15 13:51:00 +02:00
regrtest.py bpo-37473: Don't import importlib ASAP in tests (GH-14661) 2019-07-14 19:31:12 +02:00
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 bpo-32602: Test ECDSA certs (#5247) 2018-01-20 15:16:30 +01:00
selfsigned_pythontestdotnet.pem bpo-36816: Update the self-signed.pythontest.net cert (GH-13192) 2019-05-08 09:35:09 -07:00
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 bpo-38614: Use test.support.SHORT_TIMEOUT constant (GH-17566) 2019-12-11 11:30:03 +01:00
Sine-1000Hz-300ms.aif
sortperf.py Fixes in sorting descriptions (GH-18317) 2020-02-03 08:47:20 -08:00
ssl_cert.pem bpo-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
ssl_key.passwd.pem bpo-38271: encrypt private key test files with AES256 (GH-16385) 2019-09-25 08:55:02 -07:00
ssl_key.pem bpo-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
ssl_servers.py bpo-40275: Avoid importing socket in test.support (GH-19603) 2020-04-25 10:06:29 +03:00
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-44110: Improve string's __getitem__ error message (GH-26042) 2021-06-27 15:04:57 +03:00
talos-2019-0758.pem bpo-35746: Fix segfault in ssl's cert parser (GH-11569) 2019-01-15 14:47:42 -08:00
test___all__.py bpo-41521: Replace denylist with blocklist is http.cookiejar doc (GH-21826) 2020-08-13 19:20:28 +02:00
test___future__.py
test__locale.py bpo-38324: Fix test__locale.py Windows failures (GH-20529) 2020-10-20 12:39:52 +01:00
test__opcode.py Update test__opcode and _Py_GetSpecializationStats with recent specialization stat changes (GH-27728) 2021-08-11 17:34:01 +01:00
test__osx_support.py bpo-40275: Fix failed test cases by using test helpers (GH-21811) 2020-08-10 23:24:02 +02:00
test__xxsubinterpreters.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
test_abc.py bpo-25479: add unit test for __subclasshook__ in test_abc.py (GH-24034) 2021-05-12 14:05:45 +01:00
test_abstract_numbers.py
test_aifc.py bpo-40275: Use new test.support helper submodules in tests (GH-21219) 2020-06-30 15:46:06 +02:00
test_argparse.py bpo-24444: fix an error in argparse help when help for an option is blank (GH-28050) 2021-10-13 18:31:51 +02:00
test_array.py bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) 2021-08-29 14:04:40 +03: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-45408: Don't override previous tokenizer errors in the second parser pass (GH-28812) 2021-10-07 22:33:05 +01:00
test_asyncgen.py bpo-44963: Implement send() and throw() methods for anext_awaitable objects (GH-27955) 2021-09-07 11:30:14 +01:00
test_asynchat.py bpo-44498: suppress DeprecationWarnings for asynchat, asyncore and smtpd in tests (GH-26905) 2021-06-25 00:20:40 +01:00
test_asyncore.py bpo-44498: suppress DeprecationWarnings for asynchat, asyncore and smtpd in tests (GH-26905) 2021-06-25 00:20:40 +01: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 bpo-28261: Fixed err msgs where PyArg_ParseTuple is used to parse normal tuples. (#3119) 2017-08-20 18:35:36 +03:00
test_audit.py bpo-45445: Fail if an invalid X-option is provided in the command line (GH-28823) 2021-10-13 18:08:19 +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-45085: Remove the binhex module (GH-28117) 2021-09-02 12:10:08 +02:00
test_binop.py Spelling fixes (#2902) 2017-08-03 09:00:59 +03:00
test_bisect.py bpo-4356: Add key function support to the bisect module (GH-20556) 2020-10-19 22:04:01 -07:00
test_bool.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_buffer.py bpo-40275: Use new test.support helper submodules in tests (GH-21151) 2020-06-25 19:17:57 +02:00
test_bufio.py bpo-40275: Use new test.support helper submodules in tests (GH-21314) 2020-07-06 11:12:49 +02:00
test_builtin.py bpo-45346: Keep docs consistent regarding true and false values (GH-28697) 2021-10-02 13:48:08 -05:00
test_bytes.py Fix bytes.__bytes__ to not truncate at a zero byte (GH-27902) 2021-08-23 15:24:12 +01:00
test_bz2.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03: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-41521: Rename blacklist parameter to not_exported (GH-21824) 2020-08-17 07:20:40 +02: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 Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
test_cgi.py bpo-41139: Deprecate cgi.log() (GH-25625) 2021-04-29 11:36:04 +09:00
test_cgitb.py bpo-40275: Use new test.support helper submodules in tests (GH-21315) 2020-07-06 11:15:08 +02:00
test_charmapcodec.py bpo-41919, test_codecs: Move codecs.register calls to setUp() (GH-22513) 2020-10-16 10:34:15 +02:00
test_check_c_globals.py bpo-36876: Re-organize the c-analyzer tool code. (gh-16841) 2019-10-18 19:00:04 -07:00
test_class.py Remove binding of captured exceptions when not used to reduce the chances of creating cycles (GH-17246) 2019-11-19 21:34:03 +00: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-43651: PEP 597: Fix EncodingWarning in some tests (GH-25145) 2021-04-04 09:01:23 +09:00
test_cmd.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_cmd_line.py bpo-45445: Fail if an invalid X-option is provided in the command line (GH-28823) 2021-10-13 18:08:19 +01:00
test_cmd_line_script.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_code.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_code_module.py bpo-40275: Use new test.support helper submodules in tests (GH-21451) 2020-08-03 18:47:42 +02:00
test_codeccallbacks.py Remove unused imports in tests (GH-14518) 2019-07-01 18:28:25 +02:00
test_codecencodings_cn.py bpo-30003: Fix handling escape characters in HZ codec (#1556) 2017-05-22 22:42:05 +08:00
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 Fix miscellaneous typos (#4275) 2017-11-05 15:37:50 +02:00
test_codecmaps_tw.py
test_codecs.py bpo-45467: Fix IncrementalDecoder and StreamReader in the "raw-unicode-escape" codec (GH-28944) 2021-10-14 20:04:19 +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 Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
test_colorsys.py
test_compare.py bpo-37685: Use singletons ALWAYS_EQ and NEVER_EQ in more tests. (GH-15167) 2019-08-08 08:43:18 +03:00
test_compile.py bpo-45056: Remove trailing unused constants from co_consts (GH-28109) 2021-09-02 13:02:06 +02:00
test_compileall.py bpo-45205: Make test_compileall quiet (GH-28356) 2021-09-15 20:20:45 +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 bpo-45021: Fix a hang in forked children (GH-28007) 2021-09-20 11:30:19 -07:00
test_configparser.py bpo-45173 Remove configparser deprecations (GH-28292) 2021-09-13 19:12:36 +02:00
test_contains.py bpo-37685: Use singletons ALWAYS_EQ and NEVER_EQ in more tests. (GH-15167) 2019-08-08 08:43:18 +03:00
test_context.py bpo-39481: PEP 585 for dataclasses, mailbox, contextvars (GH-19425) 2020-04-14 16:14:15 -07:00
test_contextlib.py bpo-44594: fix (Async)ExitStack handling of __context__ (gh-27089) 2021-10-03 23:49:55 -07:00
test_contextlib_async.py bpo-44594: fix (Async)ExitStack handling of __context__ (gh-27089) 2021-10-03 23:49:55 -07: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 bpo-31107: Fix copyreg mangled slot names calculation. (#2989) 2017-08-04 11:45:00 +03:00
test_coroutines.py bpo-33346: Allow async comprehensions inside implicit async comprehensions (GH-6766) 2021-07-13 22:27:50 +01:00
test_cprofile.py Remove unused imports in tests (GH-14518) 2019-07-01 18:28:25 +02:00
test_crashers.py bpo-41043: Escape literal part of the path for glob(). (GH-20994) 2020-06-20 11:10:31 +03:00
test_crypt.py bpo-25172: Reduce scope of crypt import tests (GH-17881) 2020-01-09 09:00:29 -08: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 bpo-40275: Use new test.support helper submodules in tests (GH-21315) 2020-07-06 11:15:08 +02:00
test_curses.py bpo-43988: Use check disallow instantiation helper (GH-26392) 2021-05-27 08:43:52 +02:00
test_dataclasses.py Fix dataclassses spelling (GH-28837) 2021-10-09 15:17:52 -04: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-5846: Do not use obsolete unittest functions. (GH-28303) 2021-09-13 10:49:53 +03: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 bpo-40173: Fix test.support.import_helper.import_fresh_module() (GH-28654) 2021-09-30 19:20:39 +03:00
test_decorators.py bpo-42073: allow classmethod to wrap other classmethod-like descriptors (#27115) 2021-07-15 15:16:19 +02:00
test_defaultdict.py bpo-41055: Remove outdated tests for the tp_print slot. (GH-21006) 2020-06-21 11:11:17 +03:00
test_deque.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_descr.py bpo-45340: Don't create object dictionaries unless actually needed (GH-28802) 2021-10-13 14:19:34 +01:00
test_descrtut.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +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-45340: Don't create object dictionaries unless actually needed (GH-28802) 2021-10-13 14:19:34 +01:00
test_dict_version.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
test_dictcomps.py bpo-40334: Correctly identify invalid target in assignment errors (GH-20076) 2020-05-15 02:04:52 +01:00
test_dictviews.py bpo-38202: Fix a crash in dict_view & non-itearble. (GH-16241) 2019-10-13 14:49:05 +03:00
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 Normalize jumps in compiler. All forward jumps to use JUMP_FORWARD. (GH-28755) 2021-10-06 13:05:45 +01:00
test_distutils.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_doctest.py bpo-24234: implement complex.__complex__ (GH-27887) 2021-08-23 09:15:49 +01:00
test_doctest.txt
test_doctest2.py
test_doctest2.txt
test_doctest3.txt
test_doctest4.txt
test_docxmlrpc.py bpo-10716: Migrating pydoc to html5. (GH-28651) 2021-10-09 09:36:50 +02:00
test_dtrace.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
test_dynamic.py
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 bpo-45471: Do not set PyConfig.stdlib_dir in Py_SetPythonHome(). (gh-28954) 2021-10-14 14:48:32 -06: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 bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) 2021-08-29 14:04:40 +03:00
test_enumerate.py bpo-42536: GC track recycled tuples (GH-23623) 2020-12-04 19:45:57 -08: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_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
test_exceptions.py bpo-45408: Don't override previous tokenizer errors in the second parser pass (GH-28812) 2021-10-07 22:33:05 +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-44590: Lazily allocate frame objects (GH-27077) 2021-07-26 11:22:16 +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-43651: Fix EncodingWarning in test_file and test_file_eintr (GH-25109) 2021-04-01 11:23:03 +09: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-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_finalization.py bpo-41984: GC track all user classes (GH-22701) 2020-10-14 18:44:07 -07:00
test_float.py bpo-43413: Fix handling keyword arguments in subclasses of some buitin classes (GH-26456) 2021-09-12 13:27:50 +03:00
test_flufl.py bpo-40939: Remove the old parser (GH-20768) 2020-06-11 17:30:46 +01:00
test_fnmatch.py bpo-40480: restore ability to join fnmatch.translate() results (GH-20049) 2020-05-11 21:19:20 -05:00
test_fork1.py bpo-40094: Enhance fork and wait tests (GH-19259) 2020-03-31 21:46:40 +02:00
test_format.py bpo-20524: adds better error message for .format() (GH-28310) 2021-09-24 11:18:04 -04:00
test_fractions.py bpo-44258: support PEP 515 for Fraction's initialization from string (GH-26422) 2021-06-07 08:06:33 +01: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-44885: Correct the ast locations of f-strings with format specs and repeated expressions (GH-27729) 2021-08-12 17:13:30 +01:00
test_ftplib.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_funcattrs.py bpo-42990: Functions inherit current builtins (GH-24564) 2021-02-20 15:17:18 +01:00
test_functools.py bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) 2021-08-29 14:04:40 +03:00
test_future.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
test_future3.py
test_future4.py bpo-35412: Add testcase to test_future4 (GH-11131) 2018-12-12 18:38:34 +01:00
test_future5.py
test_gc.py bpo-45340: Don't create object dictionaries unless actually needed (GH-28802) 2021-10-13 14:19:34 +01:00
test_gdb.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
test_generator_stop.py
test_generators.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_genericalias.py bpo-45167: Fix deepcopying of GenericAlias (GH-28324) 2021-09-15 20:25:41 +02:00
test_genericclass.py bpo-36679: Rename duplicate test_class_getitem function (GH-12892) 2019-04-22 11:51:06 -07:00
test_genericpath.py bpo-40275: Use new test.support helper submodules in tests (GH-21448) 2020-08-03 18:49:18 +02: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-40275: Use new test.support helper submodules in tests (GH-20824) 2020-06-25 14:15:40 +02:00
test_getpass.py
test_gettext.py bpo-44235: Remove deprecated functions in the gettext module. (GH-26378) 2021-05-30 10:29:45 +09:00
test_glob.py bpo-40275: Use new test.support helper submodules in tests (GH-21412) 2020-07-09 15:25:10 +02:00
test_global.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_grammar.py bpo-44490: Improve typing module compatibility with types.Union (GH-27048) 2021-07-16 20:33:40 -07:00
test_graphlib.py bpo-17005: Move topological sort functionality to its own module (GH-20558) 2020-06-01 00:41:14 +01:00
test_grp.py bpo-40275: Use new test.support helper submodules in tests (GH-21743) 2020-08-06 13:51:29 +02:00
test_gzip.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03: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-44048: Fix two hashlib test cases under FIPS mode (GH-26470) 2021-06-04 17:47:59 +01: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-38976: Add support for HTTP Only flag in MozillaCookieJar (#17471) 2020-10-23 15:48:55 -07: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-44022: Improve the regression test. (GH-26503) 2021-06-02 20:43:38 -07:00
test_httpservers.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_idle.py bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781) 2020-12-19 12:17:08 +02:00
test_imaplib.py bpo-43880: Show DeprecationWarnings for deprecated ssl module features (GH-25455) 2021-04-19 07:27:10 +02:00
test_imghdr.py bpo-44539: Support recognizing JPEG files without JFIF or Exif markers (GH-26964) 2021-07-20 20:56:57 +02:00
test_imp.py bpo-29410: Change the default hash algorithm to SipHash13. (GH-28752) 2021-10-10 17:29:46 +09:00
test_index.py bpo-20092. Use __index__ in constructors of int, float and complex. (GH-13108) 2019-06-02 00:05:48 +03:00
test_inspect.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_int.py bpo-37999: No longer use __int__ in implicit integer conversions. (GH-15636) 2020-05-26 18:43:38 +03:00
test_int_literal.py
test_interpreters.py bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25189) 2021-04-06 11:18:41 +09:00
test_io.py bpo-45196: prevent unittest crash on address sanitizer builds (GH-28331) 2021-09-14 11:31:50 -07:00
test_ioctl.py bpo-40275: Use new test.support helper submodules in tests (GH-20849) 2020-06-25 12:38:51 +02:00
test_ipaddress.py Remove duplicate address in CommonTestMixin_v4.test_leading_zeros() (GH-26326) 2021-06-02 13:30:13 +01:00
test_isinstance.py bpo-41909: Enable previously disabled recursion checks. (GH-22536) 2020-10-05 00:55:57 +03: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-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03:00
test_keyword.py bpo-36143: Regenerate Lib/keyword.py from the Grammar and Tokens file using pgen (GH-12456) 2019-03-25 22:01:12 +00:00
test_keywordonlyarg.py bpo-40679: Use the function's qualname in certain TypeErrors (GH-20236) 2020-05-22 13:40:17 -07:00
test_kqueue.py bpo-35934: Add socket.create_server() utility function (GH-11784) 2019-04-09 00:34:02 +02:00
test_largefile.py bpo-40275: Use new test.support helper submodules in tests (GH-21451) 2020-08-03 18:47:42 +02: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 Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
test_locale.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
test_logging.py bpo-45401: Fix a resource warning in test_logging (GH-28864) 2021-10-11 11:54:44 +03:00
test_long.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07: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-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_mailcap.py skip test_test of test_mailcap on VxWorks (GH-23507) 2020-11-28 13:49:47 -08:00
test_marshal.py Handle different string hash algorithms correctly (#28147) 2021-09-04 07:14:27 -07:00
test_math.py bpo-35606: Fix math.prod tests using 'start' as keyword parameter (GH-28595) 2021-09-28 13:32:43 +01:00
test_memoryio.py bpo-30416: Protect the optimizer during constant folding. (#4860) 2017-12-15 14:11:43 +02:00
test_memoryview.py bpo-40275: Use new test.support helper submodules in tests (GH-21169) 2020-06-30 15:46:31 +02:00
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-35474: Fix mimetypes.guess_all_extensions() potentially mutating list (GH-28286) 2021-09-11 17:44:44 +03:00
test_minidom.py bpo-37534: Allow adding Standalone Document Declaration when generating XML documents (GH-14912) 2020-02-29 09:22:19 +01:00
test_mmap.py bpo-40275: Use new test.support helper submodules in tests (GH-21449) 2020-08-03 18:41:24 +02:00
test_module.py bpo-44206: Make sure that dict-keys's version is set to zero when value is popped (GH-27542) 2021-08-02 14:54:23 +01:00
test_modulefinder.py bpo-41040: Fix test_modulefinder. (GH-20991) 2020-06-20 00:06:07 +03:00
test_msilib.py bpo-40275: Use new test.support helper submodules in tests (GH-21315) 2020-07-06 11:15:08 +02: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 bpo-35412: Skip test_multiprocessing_fork and test_multiprocessing_forkserver on Windows (GH-11086) 2018-12-11 11:31:16 +00:00
test_multiprocessing_forkserver.py bpo-35412: Skip test_multiprocessing_fork and test_multiprocessing_forkserver on Windows (GH-11086) 2018-12-11 11:31:16 +00:00
test_multiprocessing_main_handling.py bpo-40275: Use new test.support helper submodules in tests (GH-21412) 2020-07-09 15:25:10 +02:00
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 bpo-31904: Fix test_netrc for VxWorks RTOS (GH-21675) 2020-12-01 21:34:42 +01:00
test_nis.py bpo-40275: Use new test.support helper submodules in tests (GH-21314) 2020-07-06 11:12:49 +02:00
test_nntplib.py bpo-43998: Fix testing without ssl module (GH-25790) 2021-05-01 22:17:01 +02:00
test_ntpath.py bpo-43757: Make pathlib use os.path.realpath() to resolve symlinks in a path (GH-25264) 2021-04-28 16:50:17 +01:00
test_numeric_tower.py Revert "bpo-26680: Incorporate is_integer in all built-in and standard library numeric types (GH-6121)" (GH-22584) 2020-10-07 16:43:44 -07:00
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: Implement operator.call(). (GH-27888) 2021-09-24 16:22:49 +01: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-27275: Change popitem() and pop() methods of collections.OrderedDict (GH-27530) 2021-08-03 13:00:55 +02:00
test_os.py bpo-44631: Make the repr() of the _Environ class more readable. (#27128) 2021-07-20 19:15:45 +02:00
test_ossaudiodev.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_osx_env.py bpo-40275: Use new test.support helper submodules in tests (GH-21412) 2020-07-09 15:25:10 +02:00
test_pathlib.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -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 bpo-45208: Make test_pdb.test_checkline_is_not_executable() quiet (GH-28354) 2021-09-15 20:19:31 +02:00
test_peepholer.py bpo-45144: use subTests in test_peepholer (GH-28247) 2021-09-10 18:29:21 +02:00
test_pickle.py bpo-45229: Make pickle tests discoverable (GH-28467) 2021-09-20 18:21:33 +03:00
test_picklebuffer.py bpo-40275: Use new test.support helper submodules in tests (GH-21315) 2020-07-06 11:15:08 +02:00
test_pickletools.py bpo-45229: Make pickle tests discoverable (GH-28467) 2021-09-20 18:21:33 +03:00
test_pipes.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_pkg.py bpo-34200: Fix non-determinism of test_pkg (GH-9248) 2018-09-12 17:58:40 -07:00
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-42163, bpo-42189, bpo-42659: Support uname_tuple._replace (for all but processor) (#23010) 2020-12-31 14:08:03 -05: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-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_popen.py bpo-31904: Disable os.popen and popen test cases on VxWorks (GH-21687) 2020-12-15 22:20:07 +01:00
test_poplib.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +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-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_posixpath.py bpo-43757: Make pathlib use os.path.realpath() to resolve symlinks in a path (GH-25264) 2021-04-28 16:50:17 +01:00
test_pow.py bpo-36027: Extend three-argument pow to negative second argument (GH-13266) 2019-06-02 10:24:06 +01: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 bpo-27794: Add name attribute to property class (GH-23967) 2020-12-30 01:51:24 -08: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-45060: Get rid of few uses of the equality operators with None (GH-28087) 2021-08-31 16:59:52 +03:00
test_pulldom.py bpo-45132 Remove deprecated __getitem__ methods (GH-28225) 2021-09-08 13:07:40 +03:00
test_pwd.py bpo-40275: Use new test.support helper submodules in tests (GH-20849) 2020-06-25 12:38:51 +02:00
test_py_compile.py bpo-31904: Correct error string in test_file_not_exists() for VxWorks (GH-25965) 2021-05-08 01:03:41 -07:00
test_pyclbr.py bpo-44554: refactor pdb targets (and internal tweaks) (GH-26992) 2021-07-18 18:00:35 -07:00
test_pydoc.py bpo-10716: Migrating pydoc to html5. (GH-28651) 2021-10-09 09:36:50 +02:00
test_pyexpat.py bpo-15999: Always pass bool instead of int to the expat parser. (GH-15622) 2019-09-01 12:11:43 +03:00
test_queue.py bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) 2021-08-29 14:04:40 +03:00
test_quopri.py
test_raise.py bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) 2021-08-29 14:04:40 +03:00
test_random.py bpo-44260: Do not read system entropy without need in Random() (GH-26455) 2021-05-31 23:24:20 +03: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 bpo-43988: Use check disallow instantiation helper (GH-26392) 2021-05-27 08:43:52 +02:00
test_readline.py bpo-45195: Fix test_readline.test_nonascii() (GH-28329) 2021-09-14 17:38:04 +02:00
test_regrtest.py bpo-45410: regrtest replaces print_warning.orig_stderr (GH-28926) 2021-10-13 17:35:21 +02:00
test_repl.py bpo-40826: Fix test_repl.test_close_stdin() on Windows (GH-20779) 2020-06-10 18:49:23 +02: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-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_richcmp.py
test_rlcompleter.py bpo-44752: Make rlcompleter not call @property methods (GH-27401) 2021-07-29 13:40:29 +02:00
test_robotparser.py bpo-40275: Adding threading_helper submodule in test.support (GH-20263) 2020-05-28 00:10:27 +02:00
test_runpy.py bpo-41602: raise SIGINT exit code on KeyboardInterrupt from pymain_run_module (#21956) 2020-09-22 08:53:03 -07: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-19270: Fixed sched.scheduler.cancel to cancel correct event (GH-22729) 2020-10-19 10:33:43 +03: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-32942: Fix environment dependent test_script_helper (GH-8034) 2018-07-04 12:10:15 +02:00
test_secrets.py Issue #29061: secrets.randbelow() would hang with a negative input 2016-12-29 22:54:25 -07:00
test_select.py bpo-43988: Use check disallow instantiation helper (GH-26392) 2021-05-27 08:43:52 +02:00
test_selectors.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_set.py bpo-43413: Fix handling keyword arguments in subclasses of some buitin classes (GH-26456) 2021-09-12 13:27:50 +03: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-40563: Support pathlike objects on dbm/shelve (GH-21849) 2021-09-10 15:26:16 +03:00
test_shlex.py bpo-33262: Deprecate passing None for s to shlex.split() (GH-6514) 2020-04-01 09:58:55 -04:00
test_shutil.py bpo-45234: Fix FileNotFound exception raised instead of IsADirectoryError in shutil.copyfile() (GH-28421) 2021-09-21 23:53:07 +02:00
test_signal.py bpo-43957: [Enum] Deprecate `TypeError` from containment checks. (GH-25670) 2021-04-27 13:05:08 -07:00
test_site.py bpo-45020: Freeze os, site, and codecs. (gh-28398) 2021-09-17 16:31:31 -06:00
test_slice.py
test_smtpd.py bpo-44498: suppress DeprecationWarnings for asynchat, asyncore and smtpd in tests (GH-26905) 2021-06-25 00:20:40 +01:00
test_smtplib.py bpo-43124: Fix smtplib multiple CRLF injection (GH-25987) 2021-08-29 16:10:50 +02:00
test_smtpnet.py bpo-40275: Use new test.support helper submodules in tests (GH-21151) 2020-06-25 19:17:57 +02:00
test_sndhdr.py
test_socket.py bpo-45187: Fix dangling threads in test_socket.CreateServerFunctionalTest (GH-28422) 2021-09-17 21:56:41 +03:00
test_socketserver.py bpo-43843: libregrtest uses threading.excepthook (GH-25400) 2021-04-16 14:33:10 +02:00
test_sort.py bpo-36218: Fix handling of heterogeneous values in list.sort (GH-12209) 2019-03-25 00:25:37 -07:00
test_source_encoding.py bpo-25643: Refactor the C tokenizer into smaller, logical units (GH-25050) 2021-03-28 23:48:05 +01:00
test_spwd.py bpo-40275: Use new test.support helper submodules in tests (GH-21448) 2020-08-03 18:49:18 +02:00
test_sqlite.py bpo-45181: Simplify loading sqlite3 tests (GH-28304) 2021-09-13 14:16:26 +03:00
test_ssl.py bpo-45229: Fix setUpModule in test_ssl (GH-28454) 2021-09-19 16:18:16 +03: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 bpo-20499: Rounding error in statistics.pvariance (GH-28230) 2021-09-08 22:00:12 -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-31672: Restore the former behavior when override flags in Template. (#5099) 2018-01-04 19:20:11 +02:00
test_string_literals.py bpo-40939: Remove the old parser (GH-20768) 2020-06-11 17:30:46 +01:00
test_stringprep.py
test_strptime.py bpo-37552: Skip failing tests in strptime/strftime with UCRT version 17763.615 (#14460) 2019-07-18 15:56:59 +02:00
test_strtod.py
test_struct.py bpo-45034: Fix how upper limit is formatted for struct.pack("H", ...) (GH-28178) 2021-09-07 13:18:46 +01:00
test_structmembers.py bpo-40275: Use new test.support helper submodules in tests (GH-21151) 2020-06-25 19:17:57 +02:00
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 Remove unused imports. 2016-12-16 20:00:15 +02:00
test_subprocess.py bpo-40497: Fix handling of check in subprocess.check_output() (GH-19897) 2021-09-20 17:09:05 +02:00
test_sunau.py bpo-37320: Remove openfp() of aifc, sunau and wave (GH-14169) 2019-06-18 00:00:24 +02: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-23722: Raise a RuntimeError for absent __classcell__. (GH-6931) 2018-05-20 08:48:12 +03:00
test_support.py bpo-45410: regrtest -W leaves stdout/err FD unchanged (GH-28915) 2021-10-13 14:08:18 +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 Remove trailing spaces. (GH-28706) 2021-10-03 16:58:14 +03:00
test_sys.py bpo-45340: Don't create object dictionaries unless actually needed (GH-28802) 2021-10-13 14:19:34 +01:00
test_sys_setprofile.py bpo-36994: add test for profiling method_descriptor with **kwargs (GH-13461) 2019-05-22 22:05:02 +12:00
test_sys_settrace.py bpo-44840: Compiler: Move duplication of exit blocks with no line numbers to after CFG optimization. (GH-27656) 2021-08-09 10:18:59 +01:00
test_sysconfig.py bpo-44860: Update test_sysconfig for posix_user platlib (GH-28235) 2021-09-09 11:02:48 +02:00
test_syslog.py bpo-40275: Use new test.support helper submodules in tests (GH-21451) 2020-08-03 18:47:42 +02:00
test_tabnanny.py bpo-40275: Use new test.support helper submodules in tests (GH-21743) 2020-08-06 13:51:29 +02:00
test_tarfile.py bpo-39039: tarfile raises descriptive exception from zlib.error (GH-27766) 2021-09-29 11:25:48 +02:00
test_tcl.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_telnetlib.py bpo-43723: Fix deprecation error caused by thread.setDaemon() (GH-25361) 2021-04-12 13:12:36 +02:00
test_tempfile.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
test_textwrap.py bpo-28660: Make TextWrapper break long words on hyphens (GH-22721) 2020-10-18 20:01:15 +03:00
test_thread.py bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) 2021-08-29 14:04:40 +03:00
test_threadedtempfile.py bpo-40275: Adding threading_helper submodule in test.support (GH-20263) 2020-05-28 00:10:27 +02:00
test_threading.py bpo-1596321: Fix threading._shutdown() for the main thread (GH-28549) 2021-09-27 23:09:00 +02:00
test_threading_local.py bpo-5846: Do not use obsolete unittest functions. (GH-28303) 2021-09-13 10:49:53 +03:00
test_threadsignals.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_time.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
test_timeit.py bpo-40670: More reliable validation of statements in timeit.Timer. (GH-22358) 2020-09-22 16:16:46 +03:00
test_timeout.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_tix.py Revert test for Tix deprecation warning (GH-26005) 2021-05-09 01:58:35 -05:00
test_tk.py bpo-45229: Make tkinter tests discoverable (GH-28637) 2021-10-13 18:12:48 +02:00
test_tokenize.py Remove trailing spaces. (GH-28706) 2021-10-03 16:58:14 +03:00
test_trace.py bpo-45020: Freeze some of the modules imported during startup. (gh-28335) 2021-09-15 10:19:30 -06:00
test_traceback.py bpo-45249: Ensure the traceback module prints correctly syntax errors with ranges (GH-28575) 2021-09-27 21:59:06 +01:00
test_tracemalloc.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_ttk_guionly.py bpo-45229: Make tkinter tests discoverable (GH-28637) 2021-10-13 18:12:48 +02: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 precision in turtle tests (GH-27343) 2021-07-26 17:21:09 +02: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 bpo-40493: fix function type comment parsing (GH-19894) 2020-05-03 22:08:14 -07:00
test_typechecks.py
test_types.py bpo-44676: Serialize the union type using only public API (GH-27323) 2021-07-24 21:26:02 +03:00
test_typing.py bpo-45280: Add test for empty NamedTuple in test_typing (GH-28559) 2021-09-26 18:32:18 +02:00
test_ucn.py bpo-41944: No longer call eval() on content received via HTTP in the UnicodeNames tests (GH-22575) 2020-10-06 16:21:56 +02:00
test_unary.py
test_unicode.py bpo-44891: Tests id preserving on * 1 for str and bytes (GH-27745) 2021-08-13 12:36:22 +02: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 bpo-40593: Improve syntax errors for invalid characters in source code. (GH-20033) 2020-05-12 12:42:04 +03:00
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 bpo-40275: Use new test.support helper submodules in tests (GH-21314) 2020-07-06 11:12:49 +02:00
test_unpack.py bpo-45229: Use doctest.DocTestSuite instead of run_doctest (GH-28468) 2021-09-20 11:36:57 +03: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 Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
test_urllib.py bpo-43607: Fix urllib handling of Windows paths with \\?\ prefix (GH-25539) 2021-04-23 18:02:47 +01:00
test_urllib2.py bpo-40321: Add missing test, slightly expand documentation (GH-28760) 2021-10-06 17:28:16 +02:00
test_urllib2_localnet.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_urllib2net.py bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378) 2021-07-27 00:11:55 +02:00
test_urllib_response.py bpo-12707: deprecate info(), geturl(), getcode() methods in favor of headers, url, and status properties for HTTPResponse and addinfourl (GH-11447) 2019-09-13 12:40:07 +01:00
test_urllibnet.py bpo-40275: Use new test.support helper submodules in tests (GH-21743) 2020-08-06 13:51:29 +02:00
test_urlparse.py Speed up test_urlsplit_normalization (GH-26688) 2021-07-22 10:45:53 +03:00
test_userdict.py [3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620) 2019-06-05 18:22:31 +03:00
test_userlist.py bpo-27639: Correct return type for UserList slicing operation (#13169) 2019-05-07 17:41:06 -04:00
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-42236: os.device_encoding() respects UTF-8 Mode (GH-23119) 2020-11-04 11:20:10 +01:00
test_utf8source.py
test_uu.py bpo-41069: Make TESTFN and the CWD for tests containing non-ascii characters. (GH-21035) 2020-06-25 17:56:31 +03:00
test_uuid.py bpo-38659: [Enum] add _simple_enum decorator (GH-25497) 2021-04-21 10:20:44 -07:00
test_venv.py bpo-45337: Use the realpath of the new executable when creating a venv on Windows (GH-28663) 2021-10-07 21:26:12 +01:00
test_wait3.py bpo-40094: Add os.waitstatus_to_exitcode() (GH-19201) 2020-04-01 18:49:29 +02:00
test_wait4.py bpo-40094: Add os.waitstatus_to_exitcode() (GH-19201) 2020-04-01 18:49:29 +02:00
test_wave.py bpo-41521: Rename blacklist parameter to not_exported (GH-21824) 2020-08-17 07:20:40 +02:00
test_weakref.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
test_weakset.py bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) 2021-08-29 14:04:40 +03:00
test_webbrowser.py bpo-40275: Use new test.support helper submodules in tests (GH-21743) 2020-08-06 13:51:29 +02: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 bpo-40275: Use new test.support helper submodules in tests (GH-21743) 2020-08-06 13:51:29 +02:00
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
test_xml_dom_minicompat.py
test_xml_etree.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -07:00
test_xml_etree_c.py bpo-40275: Use new test.support helper submodules in tests (GH-21449) 2020-08-03 18:41:24 +02:00
test_xmlrpc.py Fix typos in the Lib directory (GH-28775) 2021-10-06 16:13:48 -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-42111: Make the xxlimited module an example of best extension module practices (GH-23226) 2020-12-08 08:36:53 -08:00
test_xxtestfuzz.py bpo-40275: Use new test.support helper submodules in tests (GH-21412) 2020-07-09 15:25:10 +02:00
test_yield_from.py bpo-40941: Unify implicit and explicit state in the frame and generator objects into a single value. (GH-20803) 2020-07-17 11:44:23 +01:00
test_zipapp.py bpo-40275: More lazy imports in test.support (GH-20131) 2020-05-19 00:02:57 +02:00
test_zipfile.py bpo-39359: [zipfile] add missing "pwd: expected bytes, got str" exception (GH-18031) 2021-09-23 23:37:53 +02:00
test_zipfile64.py bpo-40275: Use new test.support helper submodules in tests (GH-21785) 2020-08-08 13:05:24 +02:00
test_zipimport.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_zipimport_support.py bpo-40275: Use new test.support helper submodules in tests (GH-21219) 2020-06-30 15:46:06 +02:00
test_zlib.py bpo-43613: Faster implementation of gzip.compress and gzip.decompress (GH-27941) 2021-09-02 17:02:59 +02: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 bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180) 2018-12-17 11:30:34 +01:00
tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt bpo-31462: Remove trailing whitespaces. (#3564) 2017-09-14 09:38:36 +03:00
tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt bpo-31462: Remove trailing whitespaces. (#3564) 2017-09-14 09:38:36 +03:00
tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt
tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt bpo-31462: Remove trailing whitespaces. (#3564) 2017-09-14 09:38:36 +03:00
tokenize_tests.txt bpo-31462: Remove trailing whitespaces. (#3564) 2017-09-14 09:38:36 +03:00
win_console_handler.py
xmltests.py
zip_cp437_header.zip
zipdir.zip