cpython/Lib/test
David Röthlisberger b1bc37597f
gh-116957: configparser: Do post-process values after DuplicateOptionError (GH-116958)
If you catch DuplicateOptionError / DuplicateSectionError when reading a
config file (the intention is to skip invalid config files) and then
attempt to use the ConfigParser instance, any values it *had* read
successfully so far, were stored as a list instead of string! Later
`get` calls would raise "AttributeError: 'list' object has no attribute
'find'" from somewhere deep in the interpolation code.
2024-03-19 11:59:08 +02:00
..
archivetestdata
audiodata
certdata gh-107361: strengthen default SSL context flags (#112389) 2024-03-06 13:44:58 -08:00
cjkencodings
configdata
crashers
data
decimaltestdata
dtracedata
encoded_modules
leakers
libregrtest GH-112536: Add more TSan tests (#116911) 2024-03-17 09:47:14 +01:00
mathdata
regrtestdata/import_from_tests
subprocessdata
support gh-112536: Add test_threading to TSAN tests (#116898) 2024-03-16 11:55:46 +00:00
test_asyncio gh-113538: Add asycio.Server.{close,abort}_clients (redo) (#116784) 2024-03-18 13:15:53 -07:00
test_capi gh-116417: Move limited C API list.c tests to _testlimitedcapi (#116602) 2024-03-18 22:03:55 +01:00
test_cext gh-116869: Enable test_cext and test_cppext on Free Threading build (#116973) 2024-03-18 23:14:29 +00:00
test_concurrent_futures gh-114271: Fix race in `Thread.join()` (#114839) 2024-03-16 13:56:30 +01:00
test_cppext gh-116869: Enable test_cext and test_cppext on Free Threading build (#116973) 2024-03-18 23:14:29 +00:00
test_ctypes gh-72463: Fix ctypes/test_loading.py so that test_find reports skipped (GH-18312) 2024-02-29 20:37:31 +02:00
test_dataclasses gh-105866: fix dataclass with slots=True, weakref_slot=True (#105870) 2024-03-18 18:53:14 -06:00
test_doctest
test_email gh-76511: Fix email.Message.as_string() for non-ASCII message with ASCII charset (GH-116125) 2024-03-05 17:49:01 +02:00
test_future_stmt
test_gdb
test_import
test_importlib GH-115979: update test_importlib to work under WASI SDK 21 (GH-116754) 2024-03-13 13:24:28 -07:00
test_inspect gh-71765: Fix inspect.getsource() on empty file (GH-20809) 2024-03-18 16:13:02 +01:00
test_interpreters gh-76785: Minor Improvements to "interpreters" Module (gh-116328) 2024-03-05 08:54:46 -07:00
test_json
test_module
test_multiprocessing_fork
test_multiprocessing_forkserver
test_multiprocessing_spawn
test_pathlib GH-116377: Stop raising `ValueError` from `glob.translate()`. (#116378) 2024-03-17 17:09:35 +00:00
test_peg_generator
test_pydoc gh-113942: Show functions implemented as builtin methods (GH-115306) 2024-02-26 20:29:49 +02:00
test_sqlite3
test_tkinter
test_tomllib
test_tools gh-115421: Test that our Makefile has all needed test folders (GH-115813) 2024-03-07 12:24:38 +01:00
test_ttk gh-116484: Fix collisions between Checkbutton and ttk.Checkbutton default names (GH-116495) 2024-03-16 13:31:19 +02:00
test_unittest gh-75988: Fix issues with autospec ignoring wrapped object (#115223) 2024-03-08 19:14:32 +00:00
test_warnings
test_zipfile gh-106531: Refresh zipfile._path with zipp 3.18. (#116835) 2024-03-14 21:53:50 +00:00
test_zoneinfo
tkinterdata
tokenizedata
tracedmodules
typinganndata
wheeldata gh-116877: Update `wheel` to version `0.43.0` (#116878) 2024-03-18 11:50:32 -04:00
xmltestdata
.ruff.toml
__init__.py
__main__.py
_test_atexit.py
_test_eintr.py
_test_embed_set_config.py gh-116167: Allow disabling the GIL with `PYTHON_GIL=0` or `-X gil=0` (#116338) 2024-03-11 11:02:58 -04:00
_test_embed_structseq.py
_test_monitoring_shutdown.py gh-115832: Fix instrumentation version mismatch during interpreter shutdown (#115856) 2024-03-04 11:29:39 -05:00
_test_multiprocessing.py gh-88118: Fix some test_multiprocessing flakiness. (#116434) 2024-03-06 13:39:06 -08:00
_test_venv_multiprocessing.py
archiver_tests.py
audiotests.py
audit-tests.py
autotest.py
bisect_cmd.py
clinic.test.c gh-114258: Argument Clinic: refactor getset implementation (#116170) 2024-03-04 13:51:28 +01:00
cov.py
curses_tests.py
datetimetester.py
dis_module.py
empty.vbs
exception_hierarchy.txt
fork_wait.py
levenshtein_examples.json
list_tests.py gh-115733: Fix crash involving exhausted list iterator (#115740) 2024-02-21 05:18:44 +09:00
lock_tests.py
mapping_tests.py
memory_watchdog.py
mime.types
mock_socket.py
mp_fork_bomb.py
mp_preload.py
multibytecodec_support.py
pickletester.py
profilee.py
pstats.pck
pyclbr_input.py
pythoninfo.py
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
regrtest.py
relimport.py
reperf.py
seq_tests.py
signalinterproctester.py
ssl_servers.py
ssltests.py
string_tests.py
test___all__.py gh-71052: Enable test_concurrent_futures on platforms that lack multiprocessing (gh-115917) 2024-02-25 11:38:18 -08:00
test__locale.py
test__opcode.py
test__osx_support.py
test__xxinterpchannels.py gh-115490: Make the interpreter.channels and interpreter.queues Modules Handle Reloading Properly (gh-115493) 2024-03-04 20:59:30 +00:00
test__xxsubinterpreters.py gh-115142: Skip ``test__xxsubinterpreters`` if ``_testinternalcapi`` is not available (#116507) 2024-03-09 16:28:13 +03:00
test_abc.py
test_abstract_numbers.py
test_argparse.py gh-96310: Fix a traceback in argparse when all options in a mutually exclusive group are suppressed (GH-96311) 2024-02-21 13:58:04 +00:00
test_array.py
test_asdl_parser.py
test_ast.py gh-105858: Improve AST node constructors (#105880) 2024-02-27 18:13:03 -08:00
test_asyncgen.py
test_atexit.py
test_audit.py gh-114271: Fix race in `Thread.join()` (#114839) 2024-03-16 13:56:30 +01:00
test_augassign.py
test_base64.py bpo-31116: Add Z85 variant to base64 (GH-30598) 2024-02-25 19:17:54 +02:00
test_baseexception.py chore: fix typos (#116345) 2024-03-05 09:05:52 -07:00
test_bdb.py
test_bigaddrspace.py
test_bigmem.py
test_binascii.py
test_binop.py
test_bisect.py
test_bool.py
test_buffer.py
test_bufio.py
test_builtin.py
test_bytes.py gh-115323: Add meaningful error message for using bytearray.extend with str (#115332) 2024-02-24 18:34:45 -05:00
test_bz2.py gh-115961: Improve tests for compressed file-like objects (GH-115963) 2024-02-28 07:51:08 +00:00
test_c_locale_coercion.py gh-71052: Change Android's `sys.platform` from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_calendar.py
test_call.py gh-116417: Add _testlimitedcapi C extension (#116419) 2024-03-07 18:31:12 +00:00
test_charmapcodec.py
test_class.py
test_clinic.py gh-116646: Add limited C API support to AC fildes converter (#116769) 2024-03-14 10:28:58 +01:00
test_cmath.py
test_cmd.py
test_cmd_line.py gh-116858: Add `@cpython_only` to several tests in `test_cmd_line` (#116859) 2024-03-16 11:54:42 +03:00
test_cmd_line_script.py
test_code.py
test_code_module.py
test_codeccallbacks.py
test_codecencodings_cn.py
test_codecencodings_hk.py
test_codecencodings_iso2022.py
test_codecencodings_jp.py
test_codecencodings_kr.py
test_codecencodings_tw.py
test_codecmaps_cn.py
test_codecmaps_hk.py
test_codecmaps_jp.py
test_codecmaps_kr.py
test_codecmaps_tw.py
test_codecs.py gh-85287: Change codecs to raise precise UnicodeEncodeError and UnicodeDecodeError (#113674) 2024-03-17 04:58:42 +00:00
test_codeop.py
test_collections.py
test_colorsys.py
test_compare.py
test_compile.py gh-116100: Add `test` arg to `ast.If` and `op` arg to `ast.BoolOp` calls (#116101) 2024-02-29 06:59:24 -08:00
test_compileall.py gh-71052: Add test exclusions to support running the test suite on Android (#115918) 2024-02-29 22:32:50 +01:00
test_compiler_assemble.py gh-115796: fix exception table construction in _testinternalcapi.assemble_code_object (#115797) 2024-02-22 12:36:44 +00:00
test_compiler_codegen.py
test_complex.py
test_configparser.py gh-116957: configparser: Do post-process values after DuplicateOptionError (GH-116958) 2024-03-19 11:59:08 +02:00
test_contains.py
test_context.py
test_contextlib.py
test_contextlib_async.py
test_copy.py
test_copyreg.py
test_coroutines.py
test_cprofile.py
test_csv.py gh-67044: Always quote or escape \r and \n in csv.writer() (GH-115741) 2024-02-23 22:25:09 +02:00
test_curses.py
test_datetime.py
test_dbm.py
test_dbm_dumb.py
test_dbm_gnu.py
test_dbm_ndbm.py
test_dbm_sqlite3.py
test_decimal.py
test_decorators.py
test_defaultdict.py
test_deque.py
test_descr.py
test_descrtut.py
test_devpoll.py
test_dict.py
test_dict_version.py
test_dictcomps.py
test_dictviews.py
test_difflib.py
test_difflib_expect.html
test_dis.py
test_docxmlrpc.py
test_dtrace.py
test_dynamic.py
test_dynamicclassattribute.py
test_eintr.py
test_embed.py gh-116167: Allow disabling the GIL with `PYTHON_GIL=0` or `-X gil=0` (#116338) 2024-03-11 11:02:58 -04:00
test_ensurepip.py
test_enum.py gh-116600: [Enum] fix global Flag repr (GH-116615) 2024-03-11 15:41:53 -07:00
test_enumerate.py
test_eof.py
test_epoll.py
test_errno.py
test_except_star.py
test_exception_group.py
test_exception_hierarchy.py
test_exception_variations.py
test_exceptions.py gh-115823: Calculate correctly error locations when dealing with implicit encodings (#115824) 2024-02-26 12:57:09 +00:00
test_extcall.py
test_external_inspection.py gh-115773: Add tests to exercise the _Py_DebugOffsets structure (#115774) 2024-02-28 10:17:34 +00:00
test_faulthandler.py
test_fcntl.py gh-71052: Change Android's `sys.platform` from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_file.py
test_file_eintr.py
test_filecmp.py gh-57141: Add dircmp shallow option (GH-109499) 2024-03-04 17:27:43 +00:00
test_fileinput.py
test_fileio.py
test_fileutils.py
test_finalization.py
test_float.py
test_flufl.py
test_fnmatch.py
test_fork1.py
test_format.py
test_fractions.py
test_frame.py GH-116098: Remove dead frame object creation code (GH-116687) 2024-03-12 23:35:28 +00:00
test_frozen.py
test_fstring.py
test_ftplib.py
test_funcattrs.py
test_functools.py gh-115264: Fix `test_functools` with `-00` mode (#115276) 2024-03-13 09:41:37 +03:00
test_gc.py gh-116604: Fix test_gc on free-threaded build (#116662) 2024-03-13 13:27:36 +00:00
test_generated_cases.py gh-115419: Change default sym to not_null (GH-116562) 2024-03-13 20:57:48 +08:00
test_generator_stop.py Rename test_pep####.py files 2016-09-09 12:55:37 -07:00
test_generators.py
test_genericalias.py
test_genericclass.py
test_genericpath.py
test_genexps.py
test_getopt.py
test_getpass.py
test_getpath.py
test_gettext.py
test_glob.py GH-116377: Stop raising `ValueError` from `glob.translate()`. (#116378) 2024-03-17 17:09:35 +00:00
test_global.py
test_grammar.py
test_graphlib.py
test_grp.py
test_gzip.py gh-115961: Improve tests for compressed file-like objects (GH-115963) 2024-02-28 07:51:08 +00:00
test_hash.py
test_hashlib.py
test_heapq.py
test_hmac.py bpo-14322: added test case for invalid update to hmac (#26636) 2024-02-25 03:33:28 -07:00
test_html.py
test_htmlparser.py
test_http_cookiejar.py
test_http_cookies.py
test_httplib.py
test_httpservers.py
test_idle.py
test_imaplib.py
test_index.py
test_int.py gh-114911: Add CPUStopwatch test helper (GH-114912) 2024-02-28 12:53:48 +01:00
test_int_literal.py
test_io.py
test_ioctl.py
test_ipaddress.py
test_isinstance.py
test_iter.py
test_iterlen.py
test_itertools.py gh-115874: Don't use module state in teedataobject tp_dealloc (#116204) 2024-03-18 13:24:24 +01:00
test_keyword.py
test_keywordonlyarg.py
test_kqueue.py
test_largefile.py Replace stat.ST_xxx usage with os.stat().st_xxx (#116501) 2024-03-08 18:49:09 +01:00
test_launcher.py
test_linecache.py gh-71765: Fix inspect.getsource() on empty file (GH-20809) 2024-03-18 16:13:02 +01:00
test_list.py gh-112087: Make list_{slice, ass_slice, subscript} to be threadsafe (gh-116233) 2024-03-05 04:58:14 +00:00
test_listcomps.py
test_lltrace.py
test_locale.py
test_logging.py gh-90535: Fix support of interval>1 in logging.TimedRotatingFileHandler (GH-116220) 2024-03-16 12:29:42 +02:00
test_long.py
test_longexp.py
test_lzma.py gh-115961: Improve tests for compressed file-like objects (GH-115963) 2024-02-28 07:51:08 +00:00
test_mailbox.py Replace stat.ST_xxx usage with os.stat().st_xxx (#116501) 2024-03-08 18:49:09 +01:00
test_marshal.py
test_math.py gh-73468: Add math.fma() function (#116667) 2024-03-17 13:58:26 +00:00
test_math_property.py
test_memoryio.py
test_memoryview.py
test_metaclass.py
test_mimetypes.py
test_minidom.py
test_mmap.py gh-71052: Change Android's `sys.platform` from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_modulefinder.py
test_monitoring.py gh-116735: Use `MISSING` for `CALL` event if argument is absent (GH-116737) 2024-03-15 14:46:18 +00:00
test_msvcrt.py
test_multibytecodec.py gh-85287: Change codecs to raise precise UnicodeEncodeError and UnicodeDecodeError (#113674) 2024-03-17 04:58:42 +00:00
test_multiprocessing_main_handling.py
test_named_expressions.py gh-100746: Improve `test_named_expressions.py` (#116713) 2024-03-13 21:12:40 +03:00
test_netrc.py
test_ntpath.py
test_numeric_tower.py
test_opcache.py gh-115999: Disable the specializing adaptive interpreter in free-threaded builds (#116013) 2024-02-29 21:53:32 -05:00
test_opcodes.py
test_openpty.py
test_operator.py
test_optimizer.py GH-115816: Make tier2 optimizer symbols testable, and add a few tests. (GH-115953) 2024-02-27 10:51:26 +00:00
test_optparse.py
test_ordered_dict.py
test_os.py gh-116401: Fix blocking os.fwalk() and shutil.rmtree() on opening a named pipe (GH-116421) 2024-03-13 11:40:28 +02:00
test_osx_env.py
test_patma.py
test_pdb.py gh-90095: Ignore empty lines and comments in `.pdbrc` (#116834) 2024-03-15 09:36:04 +00:00
test_peepholer.py
test_pep646_syntax.py
test_perf_profiler.py
test_perfmaps.py
test_pickle.py
test_picklebuffer.py
test_pickletools.py
test_pkg.py
test_pkgutil.py
test_platform.py gh-116491: Improve `test_win32_ver` (#116506) 2024-03-13 09:46:48 +03:00
test_plistlib.py
test_poll.py
test_popen.py
test_poplib.py
test_positional_only_arg.py
test_posix.py gh-71052: Add test exclusions to support running the test suite on Android (#115918) 2024-02-29 22:32:50 +01:00
test_posixpath.py
test_pow.py
test_pprint.py
test_print.py
test_profile.py
test_property.py gh-101860: Expose __name__ on property (GH-101876) 2024-02-20 17:14:34 +02:00
test_pstats.py
test_pty.py gh-71052: Add test exclusions to support running the test suite on Android (#115918) 2024-02-29 22:32:50 +01:00
test_pulldom.py
test_pwd.py
test_py_compile.py Fix test_py_compile with -O mode (GH-115345) 2024-02-19 19:02:51 +02:00
test_pyclbr.py
test_pyexpat.py gh-115398: Expose Expat >=2.6.0 reparse deferral API (CVE-2023-52425) (GH-115623) 2024-02-29 14:52:50 -08:00
test_queue.py gh-115258: Fix hanging tests for threading queue shutdown (#115940) 2024-03-18 16:15:29 +00:00
test_quopri.py
test_raise.py
test_random.py
test_range.py
test_re.py gh-114911: Add CPUStopwatch test helper (GH-114912) 2024-02-28 12:53:48 +01:00
test_readline.py
test_regrtest.py gh-110918: Fix side effects of regrtest test_match_tests() (#116718) 2024-03-13 14:20:33 +01:00
test_repl.py
test_reprlib.py gh-109818: `reprlib.recursive_repr` copies `__type_params__` (#109819) 2023-09-27 19:26:42 -07:00
test_resource.py gh-71052: Change Android's `sys.platform` from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_richcmp.py
test_rlcompleter.py
test_robotparser.py
test_runpy.py
test_sax.py gh-115398: Expose Expat >=2.6.0 reparse deferral API (CVE-2023-52425) (GH-115623) 2024-02-29 14:52:50 -08:00
test_sched.py
test_scope.py
test_script_helper.py bpo-40280: Block more non-working syscalls in Emscripten (GH-31757) 2022-03-08 12:17:30 +01:00
test_secrets.py
test_select.py
test_selectors.py
test_set.py
test_setcomps.py
test_shelve.py
test_shlex.py
test_shutil.py gh-116401: Fix blocking os.fwalk() and shutil.rmtree() on opening a named pipe (GH-116421) 2024-03-13 11:40:28 +02:00
test_signal.py
test_site.py
test_slice.py
test_smtplib.py
test_smtpnet.py gh-108416: Mark slow but not CPU bound test methods with requires_resource('walltime') (GH-108480) 2023-09-05 17:56:30 +03:00
test_socket.py gh-71052: Change Android's `sys.platform` from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_socketserver.py
test_sort.py GH-116554: Relax list.sort()'s notion of "descending" runs (#116578) 2024-03-12 19:59:42 -05:00
test_source_encoding.py
test_ssl.py gh-71052: Change Android's `sys.platform` from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_stable_abi_ctypes.py gh-111696, PEP 737: Add PyType_GetModuleName() function (#116824) 2024-03-14 18:17:43 +00:00
test_startfile.py
test_stat.py
test_statistics.py gh-115532: Add kernel density estimation to the statistics module (gh-115863) 2024-02-25 17:46:47 -06:00
test_str.py
test_strftime.py
test_string.py
test_string_literals.py
test_stringprep.py
test_strptime.py
test_strtod.py
test_struct.py
test_structseq.py
test_subclassinit.py
test_subprocess.py
test_sundry.py
test_super.py
test_support.py
test_symtable.py
test_syntax.py
test_sys.py gh-71052: Change Android's `sys.platform` from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_sys_setprofile.py
test_sys_settrace.py
test_sysconfig.py gh-71052: Change Android's `sys.platform` from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_syslog.py
test_tabnanny.py
test_tarfile.py gh-71052: Change Android's `sys.platform` from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_tcl.py
test_tempfile.py
test_termios.py
test_textwrap.py
test_thread.py gh-114271: Fix race in `Thread.join()` (#114839) 2024-03-16 13:56:30 +01:00
test_threadedtempfile.py
test_threading.py gh-114271: Fix race in `Thread.join()` (#114839) 2024-03-16 13:56:30 +01:00
test_threading_local.py
test_threadsignals.py gh-71052: Use `raise_signal` in `ThreadSignals.test_signals` (#116423) 2024-03-11 21:39:17 +01:00
test_time.py gh-71052: Change Android's `sys.platform` from "linux" to "android" 2024-03-11 19:25:39 +00:00
test_timeit.py
test_timeout.py
test_tokenize.py gh-115154: Fix untokenize handling of unicode named literals (#115171) 2024-02-19 14:54:10 +00:00
test_trace.py
test_traceback.py
test_tracemalloc.py
test_ttk_textonly.py
test_tty.py
test_tuple.py
test_turtle.py
test_type_aliases.py
test_type_annotations.py
test_type_cache.py gh-115999: Disable the specializing adaptive interpreter in free-threaded builds (#116013) 2024-02-29 21:53:32 -05:00
test_type_comments.py gh-115881: Ensure `ast.parse()` parses conditional context managers even with low `feature_version` passed (#115920) 2024-02-26 09:22:09 +00:00
test_type_params.py
test_typechecks.py
test_types.py gh-112281: Allow `Union` with unhashable `Annotated` metadata (#112283) 2024-03-01 16:19:24 +00:00
test_typing.py gh-116127: PEP-705: Add `ReadOnly` support for `TypedDict` (#116350) 2024-03-12 07:49:39 -07:00
test_ucn.py
test_unary.py
test_unicode_file.py
test_unicode_file_functions.py
test_unicode_identifiers.py
test_unicodedata.py
test_univnewlines.py
test_unpack.py
test_unpack_ex.py
test_unparse.py gh-116030: test_unparse: Add ``ctx`` argument to ``ast.Name`` calls (#116031) 2024-02-28 03:04:23 -08:00
test_urllib.py
test_urllib2.py gh-115197: Stop resolving host in urllib.request proxy bypass (GH-115210) 2024-02-28 12:15:52 -08:00
test_urllib2_localnet.py
test_urllib2net.py
test_urllib_response.py
test_urllibnet.py
test_urlparse.py gh-116764: Fix regressions in urllib.parse.parse_qsl() (GH-116801) 2024-03-16 12:36:05 +02:00
test_userdict.py
test_userlist.py
test_userstring.py
test_utf8_mode.py
test_utf8source.py
test_uuid.py gh-113308: Remove some internal parts of `uuid` module (#115934) 2024-03-14 13:01:41 +03:00
test_venv.py gh-71052: Add test exclusions to support running the test suite on Android (#115918) 2024-02-29 22:32:50 +01:00
test_wait3.py
test_wait4.py
test_wave.py
test_weakref.py
test_weakset.py
test_webbrowser.py
test_winapi.py
test_winconsoleio.py gh-115538: Emit warning when use bool as fd in _io.WindowsConsoleIO (GH-116925) 2024-03-18 11:48:50 +00:00
test_winreg.py
test_winsound.py
test_with.py
test_wmi.py
test_wsgiref.py
test_xml_dom_minicompat.py
test_xml_etree.py Revert "gh-96844: Improve error message of list.remove (gh-106455)" (#116956) 2024-03-18 13:54:45 +00:00
test_xml_etree_c.py
test_xmlrpc.py
test_xxlimited.py
test_xxtestfuzz.py
test_yield_from.py
test_zipapp.py
test_zipfile64.py
test_zipimport.py
test_zipimport_support.py
test_zlib.py
testcodec.py
tf_inherit_check.py
win_console_handler.py
xmltests.py