cpython/Lib/test
Petr Viktorin 4d82f628c4
gh-47146: Soft-deprecate structmember.h, expose its contents via Python.h (GH-99014)
The ``structmember.h`` header is deprecated, though it continues to be available
and there are no plans to remove it. There are no deprecation warnings. Old code
can stay unchanged (unless the extra include and non-namespaced macros bother
you greatly). Specifically, no uses in CPython are updated -- that would just be
unnecessary churn.
The ``structmember.h`` header is deprecated, though it continues to be
available and there are no plans to remove it.

Its contents are now available just by including ``Python.h``,
with a ``Py`` prefix added if it was missing:

- `PyMemberDef`, `PyMember_GetOne` and`PyMember_SetOne`
- Type macros like `Py_T_INT`, `Py_T_DOUBLE`, etc.
  (previously ``T_INT``, ``T_DOUBLE``, etc.)
- The flags `Py_READONLY` (previously ``READONLY``) and
  `Py_AUDIT_READ` (previously all uppercase)

Several items are not exposed from ``Python.h``:

- `T_OBJECT` (use `Py_T_OBJECT_EX`)
- `T_NONE` (previously undocumented, and pretty quirky)
- The macro ``WRITE_RESTRICTED`` which does nothing.
- The macros ``RESTRICTED`` and ``READ_RESTRICTED``, equivalents of
  `Py_AUDIT_READ`.
- In some configurations, ``<stddef.h>`` is not included from ``Python.h``.
  It should be included manually when using ``offsetof()``.

The deprecated header continues to provide its original
contents under the original names.
Your old code can stay unchanged, unless the extra include and non-namespaced
macros bother you greatly.

There is discussion on the issue to rename `T_PYSSIZET` to `PY_T_SSIZE` or
similar. I chose not to do that -- users will probably copy/paste that with any
spelling, and not renaming it makes migration docs simpler.


Co-Authored-By: Alexander Belopolsky <abalkin@users.noreply.github.com>
Co-Authored-By: Matthias Braun <MatzeB@users.noreply.github.com>
2022-11-22 08:25:43 +01:00
..
audiodata gh-77171 Support WAVE_FORMAT_EXTENSIBLE in the wave module (GH-96777) 2022-09-14 14:34:40 +01:00
capath bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) 2021-04-17 10:07:19 +02:00
cjkencodings
crashers Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +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 Optimize images by IMGbot (GH-21348) 2022-02-04 15:49:43 +09:00
leakers gh-93839: Move Lib/ctypes/test/ to Lib/test/test_ctypes/ (#94041) 2022-06-21 10:24:33 +02:00
libregrtest gh-72719: Remove asyncore and asynchat modules (#96580) 2022-11-08 16:48:58 +01:00
sndhdrdata Minor test cleanup (GH-837) 2017-03-27 00:08:31 -05:00
subprocessdata
support gh-87092: expose the compiler's codegen to python for unit tests (GH-99111) 2022-11-14 13:56:40 +00:00
test_asyncio GH-98219: reduce sleep time in asyncio subprocess test (#99464) 2022-11-14 11:53:11 -08:00
test_capi gh-47146: Soft-deprecate structmember.h, expose its contents via Python.h (GH-99014) 2022-11-22 08:25:43 +01:00
test_ctypes gh-99275: Fix SystemError in ctypes during __initsubclass__ (#99283) 2022-11-13 11:22:45 -08:00
test_email gh-95087: Fix IndexError in parsing invalid date in the email module (GH-95201) 2022-07-25 09:17:25 +03:00
test_import gh-94315: Check for DAC override capability (GH-94316) 2022-06-27 20:27:19 +02:00
test_importlib gh-98627: Add the _testsinglephase Module (gh-99039) 2022-11-08 09:58:11 -07:00
test_json gh-96959: Update HTTP links which are redirected to HTTPS (GH-96961) 2022-09-24 14:38:53 +03:00
test_lib2to3 Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02:00
test_peg_generator gh-92584: Remove the distutils package (#99061) 2022-11-03 19:27:27 +01:00
test_sqlite3 gh-99659: Use correct exceptions in sqlite3 bigmem tests (#99660) 2022-11-21 21:44:17 +01:00
test_tkinter Add more tkinter.Canvas tests (GH-98475) 2022-10-20 13:43:12 +03:00
test_tomllib gh-90473: Reduce recursion limit on WASI even further (GH-94333) 2022-06-27 16:19:47 +02:00
test_tools gh-95731: Fix module docstring extraction in pygettext (#95732) 2022-10-15 07:57:53 -07:00
test_ttk gh-73588: Fix generation of the default name of tkinter.Checkbutton. (GH-97547) 2022-09-27 14:05:05 +03:00
test_unittest Add more details in test_unittest (GH-99626) 2022-11-21 13:57:30 +02:00
test_warnings gh-95853: Add script to automate WASM build (GH-95828) 2022-08-13 21:56:08 +02:00
test_zoneinfo gh-97955: Migrate zoneinfo to Argument Clinic (#97958) 2022-10-07 11:06:23 -07:00
tracedmodules
typinganndata GH-96073: Fix wild replacement in inspect.formatannotation (#96074) 2022-10-07 11:23:06 -07:00
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 Cleanup regrtest "main()" function 2016-03-24 17:53:20 +01:00
_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 Tests call sleeping_retry() with SHORT_TIMEOUT (#93870) 2022-06-15 18:49:14 +02:00
_test_embed_set_config.py gh-98608: Change _Py_NewInterpreter() to _Py_NewInterpreterFromConfig() (gh-98609) 2022-10-26 11:16:30 -06: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 gh-92886: Fix tests that fail when running with optimizations (-O) in _test_multiprocessing.py (GH-93233) 2022-10-19 11:07:07 +01:00
_test_venv_multiprocessing.py gh-98360: multiprocessing now spawns children on Windows with correct argv[0] in virtual environments (GH-98462) 2022-10-20 14:53:38 +01:00
_testcppext.cpp gh-94731: Revert to C-style casts for _Py_CAST (GH-94782) 2022-07-14 11:57:18 +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 Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. 2016-09-08 20:50:03 -07:00
ann_module3.py Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. 2016-09-08 20:50:03 -07:00
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 bpo-40275: Use new test.support helper submodules in tests (GH-21219) 2020-06-30 15:46:06 +02:00
audit-tests.py gh-99377: Add audit events for thread creation and clear (GH-99378) 2022-11-16 17:15:52 +00:00
autotest.py Cleanup regrtest "main()" function 2016-03-24 17:53:20 +01:00
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 Issue 19504: Change "customise" to "customize" American spelling. 2016-08-25 21:11:50 -07:00
cfgparser.3
clinic.test gh-97728: Argument Clinic: Fix uninitialized variable in the Py_UNICODE converter (GH-97729) 2022-10-03 10:42:54 +03:00
cmath_testcases.txt Issue #26040: Improve test_math and test_cmath coverage and rigour. Thanks Jeff Allen. 2016-09-03 19:30:22 +01:00
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 gh-69142: add %:z strftime format code (gh-95983) 2022-08-28 14:27:42 -07:00
dis_module.py
doctest_aliases.py
doctest_lineno.py bpo-28249: fix lineno location for empty DocTest instances (GH-30498) 2022-05-19 17:46:15 +02:00
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 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 Call busy_retry() and sleeping_retry() with error=True (#93871) 2022-06-16 13:44:58 +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
levenshtein_examples.json gh-97008: Add a Python implementation of AttributeError and NameError suggestions (#97022) 2022-10-04 15:31:16 -07:00
list_tests.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
lock_tests.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
mailcap.txt #14977: Make mailcap respect the order of the lines in the mailcap file. 2016-09-09 20:04:23 -04:00
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 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 gh-93243: Make smtpd private before porting its users (GH-93246) 2022-08-05 17:41:29 -07: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 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 gh-95196: Disable incorrect pickling of the C implemented classmethod descriptors (GH-96383) 2022-10-05 14:21:16 +03: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 gh-99430: Remove duplicated tests for old-styled classes (#99432) 2022-11-13 10:30:00 -08:00
pythoninfo.py gh-95174: Add pthread stubs for WASI (GH-95234) 2022-07-27 20:28:06 +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
setup_testcppext.py gh-94731: Revert to C-style casts for _Py_CAST (GH-94782) 2022-07-14 11:57:18 +02:00
sgml_input.html
signalinterproctester.py Use support.sleeping_retry() and support.busy_retry() (#93848) 2022-06-15 14:09:56 +02:00
Sine-1000Hz-300ms.aif
smtpd.py gh-72719: Remove asyncore and asynchat modules (#96580) 2022-11-08 16:48:58 +01:00
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 gh-94808: Cover str.rsplit for UCS1, UCS2 or UCS4 (#98228) 2022-10-15 11:40:22 -07: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-47061: deprecate the aifc module (GH-32134) 2022-04-05 12:05:48 -07:00
test___future__.py
test__locale.py gh-90473: Skip tests that don't apply to Emscripten and WASI (GH-92846) 2022-05-16 16:02:37 +02:00
test__opcode.py GH-98686: Get rid of "adaptive" and "quick" instructions (GH-99182) 2022-11-09 10:50:09 -08:00
test__osx_support.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 17:49:09 +03:00
test__xxsubinterpreters.py gh-98610: Adjust the Optional Restrictions on Subinterpreters (GH-98618) 2022-10-31 12:35:54 -07:00
test_abc.py gh-98284: better error message for undefined abstractmethod (#97971) 2022-11-05 09:31:57 -07:00
test_abstract_numbers.py
test_aifc.py Deprecate audioop (GH-32392) 2022-04-07 12:27:35 -07:00
test_argparse.py gh-80448: argparse: Fix IndexError on store_true action (#15656) 2022-11-11 17:51:38 -08: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 GH-91079: Decouple C stack overflow checks from Python recursion checks. (GH-96510) 2022-10-05 01:34:03 +01:00
test_asyncgen.py gh-96348: Deprecate the 3-arg signature of coroutine.throw and generator.throw (GH-96428) 2022-09-30 09:43:02 +01:00
test_atexit.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_audioop.py Deprecate audioop (GH-32392) 2022-04-07 12:27:35 -07:00
test_audit.py gh-99377: Revert audit events for thread state creation and free, because the GIL is not properly held at these times (GH-99543) 2022-11-17 00:24:16 +00:00
test_augassign.py Anti-registration of various ABC methods. 2016-08-18 09:22:23 -07:00
test_base64.py gh-93096: Remove python -m base64 -t (gh-94230) 2022-07-02 15:53:43 +09:00
test_baseexception.py gh-97591: In Exception.__setstate__() acquire strong references before calling tp_hash slot (#97700) 2022-10-01 20:57:17 -07:00
test_bdb.py gh-93951: In test_bdb.StateTestCase.test_skip, avoid including auxiliary importers. (GH-93962) 2022-06-22 14:05:45 +02: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 gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_binop.py Spelling fixes (#2902) 2017-08-03 09:00:59 +03:00
test_bisect.py gh-96538: Fix refleak in _bisectmodule.c (gh-96619) 2022-09-06 19:37:18 -04:00
test_bool.py gh-94808: Add coverage for boolobject.c:bool_new (GH-94859) 2022-07-14 16:53:06 -07:00
test_buffer.py gh-90751: memoryview now supports half-float (#96738) 2022-09-10 22:44:10 +02:00
test_bufio.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_builtin.py gh-99124: use concrete exception types in test_builtin (#99125) 2022-11-07 17:47:32 -08:00
test_bytes.py gh-94808: Add coverage for bytesarray_setitem (#95802) 2022-10-10 08:28:41 -07: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 gh-57539: Increase calendar test coverage (GH-93468) 2022-06-07 10:44:29 +02:00
test_call.py GH-98686: Quicken everything (GH-98687) 2022-11-02 10:42:57 -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 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 gh-92584: Remove the distutils package (#99061) 2022-11-03 19:27:27 +01:00
test_class.py gh-94808: Add test coverage for PyObject_HasAttrString (#96627) 2022-10-03 13:37:15 -07:00
test_clinic.py gh-96002: Add functional test for Argument Clinic (#96178) 2022-11-21 15:08:45 +01:00
test_cmath.py gh-98727: Remove old style classes from test_cmath (GH-98728) 2022-10-26 19:08:34 +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-96512: Move int_max_str_digits setting to PyConfig (#96944) 2022-10-03 13:55:45 -07:00
test_cmd_line_script.py gh-96670: Raise SyntaxError when parsing NULL bytes (#97594) 2022-09-27 23:23:42 +01:00
test_code.py GH-97779: Ensure that *all* frame objects are backed by "complete" frames (GH-97845) 2022-10-04 17:30:03 -07: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 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 bpo-30003: Fix handling escape characters in HZ codec (#1556) 2017-05-22 22:42:05 +08:00
test_codecencodings_hk.py Remove unused support.run_unittest imports. 2016-04-24 23:42:49 +03:00
test_codecencodings_iso2022.py Remove unused support.run_unittest imports. 2016-04-24 23:42:49 +03:00
test_codecencodings_jp.py Remove unused support.run_unittest imports. 2016-04-24 23:42:49 +03:00
test_codecencodings_kr.py Remove unused support.run_unittest imports. 2016-04-24 23:42:49 +03:00
test_codecencodings_tw.py Remove unused support.run_unittest imports. 2016-04-24 23:42:49 +03:00
test_codecmaps_cn.py Issue #23277: Remove unused support.run_unittest import. 2016-04-24 13:45:58 +03:00
test_codecmaps_hk.py Issue #23277: Remove unused support.run_unittest import. 2016-04-24 13:45:58 +03:00
test_codecmaps_jp.py Remove unused support.run_unittest imports. 2016-04-24 23:42:49 +03:00
test_codecmaps_kr.py Fix miscellaneous typos (#4275) 2017-11-05 15:37:50 +02:00
test_codecmaps_tw.py Issue #23277: Remove unused support.run_unittest import. 2016-04-24 13:45:58 +03:00
test_codecs.py gh-98433: Fix quadratic time idna decoding. (#99092) 2022-11-07 16:54:41 -08:00
test_codeop.py gh-98401: Invalid escape sequences emits SyntaxWarning (#99011) 2022-11-03 17:53:25 +01:00
test_collections.py gh-98513: Test abstract methods of some collections types (#98516) 2022-11-07 17:48:23 -08: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 gh-98762: Fix locations of match sub-patterns (GH-98775) 2022-11-12 18:42:17 +00:00
test_compileall.py gh-90473: Skip and document more failing tests on WASI (GH-93436) 2022-06-03 00:44:48 +02:00
test_compiler_codegen.py gh-87092: expose the compiler's codegen to python for unit tests (GH-99111) 2022-11-14 13:56:40 +00:00
test_complex.py gh-99320: remove tests for old-style class from test_complex (#99321) 2022-11-10 10:51:22 +00:00
test_concurrent_futures.py gh-95166: cancel map waited on future on timeout (GH-95169) 2022-07-28 11:20:10 +02:00
test_configparser.py Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +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 gh-93065: Fix HAMT to iterate correctly over 7-level deep trees (GH-93066) 2022-05-23 21:09:59 +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-89369: test_contextlib_async finalizes event loop after each test (#93074) 2022-05-24 15:41:32 +02:00
test_copy.py gh-99430: Remove duplicated tests for old-styled classes (#99432) 2022-11-13 10:30:00 -08:00
test_copyreg.py bpo-44712: Replace "type(literal)" with corresponding builtin types (GH-27294) 2022-05-08 17:10:11 +03:00
test_coroutines.py gh-92886: make test_coroutines pass with -O (assertions off) (GH-98060) 2022-10-07 16:12:28 -07:00
test_cppext.py gh-94731: Revert to C-style casts for _Py_CAST (GH-94782) 2022-07-14 11:57:18 +02: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 gh-91217: deprecate crypt (GH-91459) 2022-04-11 17:02:19 -07:00
test_csv.py gh-65496: Correct wording on csv's skipinitialspace argument (#96170) 2022-10-07 11:15:34 -07:00
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 gh-98284: better error message for undefined abstractmethod (#97971) 2022-11-05 09:31:57 -07: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 gh-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534) 2022-06-06 19:24:11 +02:00
test_dbm_gnu.py GH-46412: More efficient bool() for ndbm/_gdbmmodule (#96692) 2022-09-08 19:32:40 -07:00
test_dbm_ndbm.py GH-46412: More efficient bool() for ndbm/_gdbmmodule (#96692) 2022-09-08 19:32:40 -07:00
test_decimal.py gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96499) 2022-09-02 09:35:08 -07:00
test_decorators.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_defaultdict.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_deque.py bpo-26579: Add object.__getstate__(). (GH-2821) 2022-04-06 20:00:14 +03:00
test_descr.py gh-99430: Remove duplicated tests for old-styled classes (#99432) 2022-11-13 10:30:00 -08:00
test_descrtut.py gh-91838: Resolve more HTTP links which redirect to HTTPS (GH-95650) 2022-08-08 14:00:17 +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 bpo-40334: Correctly identify invalid target in assignment errors (GH-20076) 2020-05-15 02:04:52 +01:00
test_dictviews.py gh-98512: Add more tests for ValuesView (#98515) 2022-11-02 19:10:42 -07: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 Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-08-30 10:47:49 -07:00
test_dis.py gh-99254: remove all unused consts from code objects (GH-99255) 2022-11-11 10:53:43 +00:00
test_doctest.py gh-93883: elide traceback indicators when possible (#93994) 2022-07-11 07:40:53 +01: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 Backed out changeset af29d89083b3 (closes #25548) (closes #27498) 2016-07-13 21:13:29 -07:00
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 gh-84461: Skip dtrace/network tests that are enabled by -u all (GH-93473) 2022-06-03 22:14:31 +02:00
test_dynamic.py GH-91079: Decouple C stack overflow checks from Python recursion checks. (GH-96510) 2022-10-05 01:34:03 +01: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-98686: Get rid of "adaptive" and "quick" instructions (GH-99182) 2022-11-09 10:50:09 -08: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-99518: Fix escape symbol in test_enum (#99519) 2022-11-16 15:06:37 +01: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 gh-99181: fix except* on unhashable exceptions (GH-99192) 2022-11-08 09:32:20 +00:00
test_exception_group.py gh-99553: fix bug where an ExceptionGroup subclass can wrap a BaseException (GH-99572) 2022-11-18 15:44:43 +00:00
test_exception_hierarchy.py gh-96005: FreeBSD has ENOTCAPABLE, too (GH-96034) 2022-08-17 07:24:53 +02:00
test_exception_variations.py bpo-46458: emit code for else of a try block immediately after the try body (GH-30751) 2022-01-27 13:40:44 +00:00
test_exceptions.py GH-91079: Decouple C stack overflow checks from Python recursion checks. (GH-96510) 2022-10-05 01:34:03 +01:00
test_extcall.py gh-96751: Remove dead code from CALL_FUNCTION_EX opcode (GH-96752) 2022-09-15 10:33:13 +01:00
test_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 Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02:00
test_file_eintr.py bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615) 2022-01-25 08:09:06 +01:00
test_filecmp.py bpo-45229: Remove test_main in many tests (GH-28405) 2021-09-19 15:27:33 +03:00
test_fileinput.py gh-93157: Fix fileinput didn't support errors in inplace mode (GH-95128) 2022-07-24 11:42:11 +09:00
test_fileio.py Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02:00
test_fileutils.py bpo-46425: fix direct invocation of test_fileutils and test_zoneinfo (GH-30792) 2022-01-22 18:05:43 +02:00
test_finalization.py bpo-41984: GC track all user classes (GH-22701) 2020-10-14 18:44:07 -07:00
test_float.py gh-95605: Fix float(s) error message when s contains only whitespace (GH-95665) 2022-08-10 19:25:39 +01:00
test_flufl.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_fnmatch.py gh-89973: Fix re.error in the fnmatch module. (GH-93072) 2022-06-05 11:46:29 +03:00
test_fork1.py bpo-40280: Add requires_fork test helper (GH-30622) 2022-01-16 22:52:43 +01:00
test_format.py 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 Allow whitespace around a slash in fraction string inputs (GH-96496) 2022-09-02 11:10:58 -05:00
test_frame.py gh-91248: Optimize PyFrame_GetVar() (#99252) 2022-11-13 15:37:03 +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 gh-98401: Invalid escape sequences emits SyntaxWarning (#99011) 2022-11-03 17:53:25 +01:00
test_ftplib.py gh-72719: Remove asyncore and asynchat modules (#96580) 2022-11-08 16:48:58 +01:00
test_funcattrs.py bpo-42990: Functions inherit current builtins (GH-24564) 2021-02-20 15:17:18 +01:00
test_functools.py gh-64373: Convert _functools to Argument Clinic (#96640) 2022-10-07 10:36:40 -07:00
test_future.py gh-98811: use full source location to simplify __future__ imports error checking. This also fixes an incorrect error offset. (GH-98812) 2022-10-31 13:08:03 +00: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 gh-99430: Remove duplicated tests for old-styled classes (#99432) 2022-11-13 10:30:00 -08: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 Rename test_pep####.py files 2016-09-09 12:55:37 -07:00
test_generators.py GH-96793: Specialize FOR_ITER for generators. (GH-98772) 2022-11-07 14:49:51 +00:00
test_genericalias.py gh-98658: Add __class_getitem__ to array.array (#98661) 2022-10-31 21:10:18 -07: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 gh-90473: Skip tests that don't apply to Emscripten and WASI (GH-92846) 2022-05-16 16:02:37 +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_getopt.py Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02: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 gh-99370: Calculate zip path from prefix when in a venv (GH-99371) 2022-11-14 15:05:14 +00:00
test_gettext.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 17:49:09 +03: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 17:49:09 +03:00
test_grammar.py Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02: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 gh-95395: Add argument type error test (GH-95412) 2022-08-06 18:52:53 +02:00
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 gh-94199: Remove hashlib.pbkdf2_hmac() Python implementation (GH-94200) 2022-06-28 11:51:13 +02:00
test_heapq.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02: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 gh-95813: Improve HTMLParser from the view of inheritance (#95874) 2022-08-18 13:16:33 +02:00
test_http_cookiejar.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02: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 gh-94172: Remove keyfile, certfile and check_hostname parameters (#94173) 2022-11-03 18:32:25 +01:00
test_httpservers.py gh-87389: Fix an open redirection vulnerability in http.server. (#93879) 2022-06-21 13:16:57 -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 gh-94172: Remove keyfile, certfile and check_hostname parameters (#94173) 2022-11-03 18:32:25 +01:00
test_imghdr.py gh-91217: deprecate imghdr (#91461) 2022-04-13 10:47:41 -07:00
test_imp.py gh-99578: Fix refleak in _imp.create_builtin() (#99642) 2022-11-21 12:14:54 +01: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 gh-74044: inspect.signature for wrappers around decorated bound methods (GH-736) 2022-11-10 12:32:01 +00:00
test_int.py gh-90716: bugfixes and more tests for _pylong. (#99073) 2022-11-03 16:18:38 -07: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-98999: Raise ValueError in _pyio on closed buffers (gh-99009) 2022-11-03 12:03:12 +09: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 gh-96959: Update HTTP links which are redirected to HTTPS (GH-96961) 2022-09-24 14:38:53 +03:00
test_isinstance.py GH-91079: Decouple C stack overflow checks from Python recursion checks. (GH-96510) 2022-10-05 01:34:03 +01:00
test_iter.py gh-94808: Coverage: Check picklablability of calliter (#95923) 2022-10-03 13:50:30 -07:00
test_iterlen.py Issue #23277: Remove unused support.run_unittest import. 2016-04-24 13:45:58 +03:00
test_itertools.py GH-98363: Fix exception handling in batched() (GH-98523) 2022-10-21 12:31:52 -05: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 gh-90473: Decrease recursion limit and skip tests on WASI (GH-92803) 2022-05-19 12:43:16 +02:00
test_launcher.py gh-99442: Fix handling in py.exe launcher when argv[0] does not include a file extension (GH-99542) 2022-11-18 14:14:56 +00:00
test_linecache.py gh-92336: linecache.getline should not raise exceptions on decoding errors (GH-94410) 2022-06-30 10:18:18 +01:00
test_list.py gh-97616: test_list_resize_overflow() uses sys.maxsize (#99057) 2022-11-03 15:56:12 +01: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-98686: Quicken everything (GH-98687) 2022-11-02 10:42:57 -07:00
test_locale.py gh-94226: Remove the locale.format() function (#94229) 2022-06-26 12:41:19 +02:00
test_logging.py gh-72719: Remove asyncore and asynchat modules (#96580) 2022-11-08 16:48:58 +01:00
test_long.py gh-98783: Fix crashes when str subclasses are used in _PyUnicode_Equal (#98806) 2022-10-30 02:23:20 -04: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 gh-90473: WASI: skip gethostname tests (GH-93092) 2022-05-23 10:39:57 +02:00
test_mailcap.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_marshal.py gh-98925: Lower marshal recursion depth for WASI (GH-98938) 2022-11-01 15:51:05 -07:00
test_math.py GH-98897: fix memory leak if math.dist raises exception (GH-98898) 2022-10-31 21:18:32 -05:00
test_memoryio.py bpo-30416: Protect the optimizer during constant folding. (#4860) 2017-12-15 14:11:43 +02:00
test_memoryview.py gh-90751: memoryview now supports half-float (#96738) 2022-09-10 22:44:10 +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-45639: Add webp and avif image formats to mimetypes (#29259) 2022-05-03 15:17:57 -06:00
test_minidom.py gh-96175: add missing self._localName assignment in xml.dom.minidom.Attr (#96176) 2022-08-23 09:16:02 -07: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 gh-97850: Remove all known instances of module_repr() (#97876) 2022-10-05 11:42:26 -07:00
test_modulefinder.py gh-93616: Fix env changed issue in test_modulefinder (GH-93617) 2022-06-09 08:32:35 +02:00
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 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 Tests call sleeping_retry() with SHORT_TIMEOUT (#93870) 2022-06-15 18:49:14 +02:00
test_multiprocessing_spawn.py Adds test.support.PGO and skips tests that are not useful for PGO. 2016-09-06 19:38:15 -07:00
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-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534) 2022-06-06 19:24:11 +02:00
test_nis.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_nntplib.py bpo-45046: Support context managers in unittest (GH-28045) 2022-05-08 17:49:09 +03:00
test_ntpath.py gh-81790: support "UNC" device paths in ntpath.splitdrive() (GH-91882) 2022-06-10 16:59:55 +01:00
test_numeric_tower.py gh-68163: Correct conversion of Rational instances to float (GH-25619) 2022-09-04 13:15:59 +01:00
test_opcache.py GH-99257: Check the owner's type when specializing slots (GH-99258) 2022-11-10 11:50:34 +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 gh-98393: Update test_os for bytes-like types (#98487) 2022-11-02 20:45:58 +01:00
test_ossaudiodev.py gh-91217: deprecate sunau (GH-91866) 2022-04-25 16:26:43 -07: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 gh-84538: add strict argument to pathlib.PurePath.relative_to (GH-19813) 2022-10-28 16:20:14 -07:00
test_patma.py gh-94499 Add test for private name mangling in class pattern matching (#94500) 2022-07-13 09:13:10 -07:00
test_pdb.py gh-93696: Locate frozen module source with __file__ (#93697) 2022-10-25 06:22:53 -07:00
test_peepholer.py gh-87092: expose the compiler's codegen to python for unit tests (GH-99111) 2022-11-14 13:56:40 +00:00
test_pep646_syntax.py bpo-43224: Implement PEP 646 grammar changes (GH-31018) 2022-03-26 09:55:35 -07:00
test_perf_profiler.py gh-96143: subprocess API %s/universal_newlines=/text=/g. (GH-96468) 2022-09-01 02:47:40 -07:00
test_pickle.py GH-89988: Fix memory leak in pickle.Pickler dispatch_table lookup (GH-94298) 2022-06-28 10:01:43 +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 gh-91217: deprecate-pipes (GH-91779) 2022-04-21 19:28:34 -07: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 gh-89545: Updates platform module to use new internal _wmi module on Windows to directly query OS properties (GH-96289) 2022-09-07 21:09:20 +01: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 17:49:09 +03:00
test_popen.py bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615) 2022-01-25 08:09:06 +01:00
test_poplib.py gh-72719: Remove asyncore and asynchat modules (#96580) 2022-11-08 16:48:58 +01:00
test_positional_only_arg.py gh-91210: Improve error message when non-default param follows default (GH-95933) 2022-09-17 10:09:28 -07:00
test_posix.py gh-95023: Added os.setns and os.unshare functions (#95046) 2022-10-20 11:08:54 +02:00
test_posixpath.py gh-96192: fix os.ismount() to use a path that is str or bytes (#96194) 2022-11-13 20:12:32 -08: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-44712: Replace "type(literal)" with corresponding builtin types (GH-27294) 2022-05-08 17:10:11 +03: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-41287: Handle doc argument of property.__init__ in subclasses (#23205) 2022-05-28 20:25:51 -07: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 gh-95376: Add test for names containing null (#GH-5394) 2022-08-06 18:53:19 +02:00
test_py_compile.py gh-92886: Fix tests that fail when running with optimizations (-O) in test_py_compile.py (GH-93235) 2022-10-19 11:05:08 +01:00
test_pyclbr.py gh-95913: make the new internal classes pdb.ModuleTarget/ScriptTarget private (GH-96053) 2022-08-18 11:16:07 +01:00
test_pydoc.py gh-65961: Do not rely solely on __cached__ (GH-97990) 2022-10-06 15:40:22 -07:00
test_pyexpat.py Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02:00
test_queue.py gh-90473: Skip test_queue when threading is not available (GH-93712) 2022-06-11 11:55:11 +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 GH-81620: Add random.binomialvariate() (GH-94719) 2022-07-13 09:46:04 -05: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-98740: Fix validation of conditional expressions in RE (GH-98764) 2022-11-03 09:23:46 +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 gh-98903: Test suite fails with exit code 4 if no tests ran (#98904) 2022-11-02 15:37:40 +01: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 gh-92734: Add indentation feature to reprlib.Repr (GH-92735) 2022-09-08 13:51:44 -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-90473: Skip tests that don't apply to Emscripten and WASI (GH-92846) 2022-05-16 16:02:37 +02:00
test_runpy.py gh-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 gh-90808: add more examples to test_sched.test_priority (#31144) 2022-09-20 18:34:13 -07: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 Issue #29061: secrets.randbelow() would hang with a negative input 2016-12-29 22:54:25 -07:00
test_select.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_selectors.py gh-90473: Skip tests that don't apply to Emscripten and WASI (GH-92846) 2022-05-16 16:02:37 +02:00
test_set.py Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02: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 gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_shlex.py gh-94352: shlex.split() no longer accepts None (#94353) 2022-07-04 15:29:19 +02:00
test_shutil.py bpo-38523: ignore_dangling_symlinks does not apply recursively (GH-22937) 2022-11-07 11:45:16 +00:00
test_signal.py Call busy_retry() and sleeping_retry() with error=True (#93871) 2022-06-16 13:44:58 +02:00
test_site.py gh-94205: Ensures all required DLLs are copied on Windows for underpth tests (GH-94206) 2022-06-24 11:48:53 +01:00
test_slice.py test_support -> support 2016-04-16 15:02:23 -07:00
test_smtplib.py gh-72719: Remove asyncore and asynchat modules (#96580) 2022-11-08 16:48:58 +01: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 gh-91217: deprecate-sndhdr (#91806) 2022-04-22 15:48:03 -07:00
test_socket.py gh-95243: Mitigate the race condition in testSockName (#96173) 2022-08-24 18:37:18 -07:00
test_socketserver.py gh-93852: Add test.support.create_unix_domain_name() (#93914) 2022-06-17 13:16:51 +02:00
test_sort.py gh-95173: Add a regression test for sorting tuples containing None (#95464) 2022-08-01 18:02:09 +02:00
test_source_encoding.py gh-96268: Fix loading invalid UTF-8 (#96270) 2022-09-07 14:23:54 -07:00
test_spwd.py gh-91217: deprecate spwd (#91846) 2022-04-23 14:48:17 -07:00
test_ssl.py gh-72719: Remove asyncore and asynchat modules (#96580) 2022-11-08 16:48:58 +01:00
test_stable_abi_ctypes.py gh-98586: Add vector call APIs to the Limited API (GH-98587) 2022-10-27 11:45:42 +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 gh-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534) 2022-06-06 19:24:11 +02:00
test_statistics.py GH-99155: Fix NormalDist pickle with 0 and 1 protocols (GH99156) 2022-11-06 20:56:41 -06: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-98401: Invalid escape sequences emits SyntaxWarning (#99011) 2022-11-03 17:53:25 +01: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 GH-78724: Initialize struct.Struct in __new__ (GH-94532) 2022-09-25 14:32:48 +01: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 gh-97825: fix AttributeError when calling subprocess.check_output(input=None) with encoding or errors args (#97826) 2022-10-04 17:47:49 -07:00
test_sunau.py gh-91217: deprecate sunau (GH-91866) 2022-04-25 16:26:43 -07:00
test_sundry.py gh-92584: Remove the distutils package (#99061) 2022-11-03 19:27:27 +01:00
test_super.py bpo-46921: Vectorcall support for super() (GH-31687) 2022-03-06 14:21:28 +08:00
test_support.py Add test.support.busy_retry() (#93770) 2022-06-15 11:42:10 +02:00
test_symtable.py gh-98393: os module reject bytes-like, only accept bytes (#98394) 2022-10-18 17:52:31 +02:00
test_syntax.py gh-90994: Improve error messages upon call arguments syntax errors (GH-96893) 2022-11-21 00:15:05 +01:00
test_sys.py GH-96793: Implement PEP 479 in bytecode. (GH-99006) 2022-11-03 11:38:51 +00:00
test_sys_setprofile.py gh-98257: Make _PyEval_SetTrace() reentrant (#98258) 2022-10-20 00:31:47 +02:00
test_sys_settrace.py GH-96793: Implement PEP 479 in bytecode. (GH-99006) 2022-11-03 11:38:51 +00:00
test_sysconfig.py gh-95853: Multiple ops and debug for wasm_build.py (#96744) 2022-09-11 09:51:23 +02:00
test_syslog.py Add more syslog tests (GH-97953) 2022-10-07 20:17:08 +03:00
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 gh-70441: Fix test_tarfile on systems w/o bz2 (gh-2962) (#94258) 2022-06-25 12:53:37 +02:00
test_tcl.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_telnetlib.py gh-91217: deprecate telnetlib (GH-91958) 2022-04-26 10:45:08 -07:00
test_tempfile.py gh-58451: Add optional delete_on_close parameter to NamedTemporaryFile (GH-97015) 2022-10-04 23:37:33 +01: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 test_thread uses support.sleeping_retry() (#93849) 2022-06-15 13:52:13 +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 gh-98610: Adjust the Optional Restrictions on Subinterpreters (GH-98618) 2022-10-31 12:35:54 -07:00
test_threading_local.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
test_threadsignals.py gh-95174: Add pthread stubs for WASI (GH-95234) 2022-07-27 20:28:06 +02:00
test_time.py Remove space. (GH-97807) 2022-10-03 17:12:36 -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-44712: Replace "type(literal)" with corresponding builtin types (GH-27294) 2022-05-08 17:10:11 +03: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_tokenize.py gh-99581: Fix a buffer overflow in the tokenizer when copying lines that fill the available buffer (#99605) 2022-11-20 20:20:03 +00: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-99103: Normalize specialized traceback anchors against the current line (GH-99145) 2022-11-12 15:37:25 -08:00
test_tracemalloc.py GH-96612: Skip incomplete frames in tracemalloc traces. (GH-96613) 2022-09-06 17:37:47 +01: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 gh-94996: Disallow parsing pos only params with feature_version < (3, 8) (GH-94997) 2022-08-12 19:27:50 +02:00
test_typechecks.py
test_types.py gh-96348: Deprecate the 3-arg signature of coroutine.throw and generator.throw (GH-96428) 2022-09-30 09:43:02 +01:00
test_typing.py test_typing: use all pickle protocols (#99154) 2022-11-06 11:53:57 +00: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 gh-78453: Move Unicode C API tests from test_unicode to test_capi.test_unicode (GH-99431) 2022-11-14 15:32:02 +02:00
test_unicode_file.py gh-90473: Misc test fixes for WASI (GH-93218) 2022-05-25 15:57:26 +02:00
test_unicode_file_functions.py gh-95853: Add script to automate WASM build (GH-95828) 2022-08-13 21:56:08 +02: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 gh-96954: Add tests for unicodedata.name/lookup (#96955) 2022-09-21 14:52:40 +02:00
test_univnewlines.py gh-84623: Remove unused imports in tests (#93772) 2022-06-13 16:56:03 +02:00
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 gh-92986: Fix ast.unparse when ImportFrom.level is None (#92992) 2022-09-05 20:14:50 +03:00
test_urllib.py gh-90473: WASI: skip gethostname tests (GH-93092) 2022-05-23 10:39:57 +02:00
test_urllib2.py Fix links to old SF bugs (#95648) 2022-08-04 18:12:35 +02: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 GH-93112: Fix missing ResourceDenied import in test_urllib2net (#93113) 2022-05-24 14:09:52 +02:00
test_urllib_response.py gh-90473: WASI: skip gethostname tests (GH-93092) 2022-05-23 10:39:57 +02: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 gh-99418: Make urllib.parse.urlparse enforce that a scheme must begin with an alphabetical ASCII character. (#99421) 2022-11-13 10:25:55 -08: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-47000: Add locale.getencoding() (GH-32068) 2022-04-09 09:54:54 +09:00
test_utf8source.py Rename test_pep####.py files 2016-09-09 12:55:37 -07:00
test_uu.py gh-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534) 2022-06-06 19:24:11 +02:00
test_uuid.py bpo-40280: Add requires_fork test helper (GH-30622) 2022-01-16 22:52:43 +01:00
test_venv.py gh-99370: Prefer LIBDIR from sysconfig when locating libpython for test (GH-99523) 2022-11-16 21:41:13 +00:00
test_wait3.py Call busy_retry() and sleeping_retry() with error=True (#93871) 2022-06-16 13:44:58 +02:00
test_wait4.py Call busy_retry() and sleeping_retry() with error=True (#93871) 2022-06-16 13:44:58 +02:00
test_wave.py gh-77171: Fixes SubFormat check to compare the entire value. Add docs (GH-97509) 2022-09-23 16:08:21 +01:00
test_weakref.py gh-99051: remove duplicated test from test_weakref (GH-99052) 2022-11-06 19:28:44 +00: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 gh-91061: also accept pathlib.Path for winsound.PlaySound (#91489) 2022-05-22 18:54:24 -07: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_wmi.py gh-96684: Silently suppress COM security errors in _wmi module (GH-96690) 2022-09-08 22:02:04 +01: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 gh-91447: Fix findtext to only give an empty string on None (GH-91486) 2022-08-01 09:52:39 -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 gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96499) 2022-09-02 09:35:08 -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 bpo-40275: Use new test.support helper submodules in tests (GH-21412) 2020-07-09 15:25:10 +02:00
test_yield_from.py Add more tests for throwing into yield from (GH-94097) 2022-06-23 16:48:28 -07:00
test_zipapp.py gh-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534) 2022-06-06 19:24:11 +02:00
test_zipfile.py gh-45108: Improve docstring and testing of ZipFile.testfile() (GH-96233) 2022-09-03 08:58:25 +03:00
test_zipfile64.py gh-45108: Improve docstring and testing of ZipFile.testfile() (GH-96233) 2022-09-03 08:58:25 +03:00
test_zipimport.py gh-91181: drop support for bytes on sys.path (GH-31934) 2022-07-16 18:07:53 -07: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 gh-95534: Improve gzip reading speed by 10% (#97664) 2022-10-16 19:10:58 -07: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