cpython/Lib/test
Miss Islington (bot) ade6dea24b
[3.14] gh-139065: Fix trailing space before long word in textwrap (GH-139070) (GH-139902)
Fix trailing space before a wrapped long word if the line length with
a space is exactly "width".
(cherry picked from commit 1c598e0436)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2025-10-10 13:54:46 +00:00
..
archivetestdata
audiodata
certdata
cjkencodings
configdata
crashers
data
decimaltestdata
dtracedata
encoded_modules
leakers
libregrtest [3.14] gh-139208: Fix regrtest --fast-ci --verbose (GH-139240) (#139260) 2025-10-07 19:39:06 +02:00
mathdata
regrtestdata/import_from_tests
subprocessdata
support [3.14] gh-139310: skip test_aead_aes_gcm for Linux kernel between 6.16.0 and 6.17.x (GH-139552) (#139594) 2025-10-05 08:53:23 +00:00
test_ast
test_asyncio [3.14] gh-135444: fix asyncio.DatagramTransport.sendto to account for datagram header size when data cannot be sent (GH-135445) (#137245) 2025-10-07 23:40:03 +05:30
test_capi
test_cext
test_concurrent_futures
test_cppext
test_ctypes [3.14] gh-83424: Allow empty name if handle is non-null when create ctypes.CDLL on Windows (GH-136878) (#138546) 2025-10-08 15:56:13 +02:00
test_dataclasses
test_doctest [3.14] gh-136914: Fix support of cached functions and properties in DocTest's lineno computation (GH-136930) (#137616) 2025-10-07 20:48:10 +02:00
test_email
test_free_threading [3.14] gh-116738: make mmap module thread-safe (GH-139237) (#139825) 2025-10-09 20:19:03 +05:30
test_future_stmt
test_gdb
test_import [3.14] gh-138854: Skip test_script_shadowing_stdlib_cwd_failure on AIX (GH-138855) (GH-139674) 2025-10-07 20:16:55 +02:00
test_importlib [3.14] gh-82916: Don't fail when importing from / with sys.pycache_prefix set (GH-30456) (GH-137906) 2025-10-07 18:55:33 +02:00
test_inspect [3.14] gh-139783: Fix inspect.getsourcelines() for the case when a decorator is followed by a comment or an empty line (GH-139836) (GH-139889) 2025-10-10 08:18:32 +00:00
test_interpreters [3.14] gh-135729: Store reference to globals in Interpreter._decref (GH-139104) (GH-139112) 2025-10-07 14:18:15 -04:00
test_json
test_module
test_multiprocessing_fork
test_multiprocessing_forkserver
test_multiprocessing_spawn
test_pathlib [3.14] Use test.support.is_wasm32 flag for is_emscripten or is_wasi for generic checks (GH-136815) (#138643) 2025-09-08 16:20:00 +03:00
test_peg_generator
test_pydoc [3.14] gh-133210: Fix test_pydoc without docstrings (GH-139654) (#139777) 2025-10-08 14:15:52 +00:00
test_pyrepl [3.14] gh-139391: properly handle signal.signal() in UnixConsole when called from a non-main thread (GH-139392) (#139858) 2025-10-09 16:10:51 +00:00
test_sqlite3 [3.14] gh-139743: Avoid import-time print in test_sqlite3 (GH-139746) (GH-139828) 2025-10-09 08:25:38 +00:00
test_string
test_tkinter
test_tomllib
test_tools
test_ttk
test_unittest
test_warnings [3.14] gh-138010: Fix __init_subclass__ forwarding by warnings.deprecated (GH-138210) (#138561) 2025-10-07 21:29:28 -07:00
test_zipfile [3.14] gh-137589: Zipfile tests: close file objects (GH-138080) (#139766) 2025-10-08 15:52:08 +02:00
test_zoneinfo [3.14] gh-137754: Fix import of zoneinfo if _datetime is not available (GH-137845) (GH-138084) 2025-10-08 14:28:41 +02:00
tkinterdata
tokenizedata
tracedmodules
translationdata
typinganndata
wheeldata
xmltestdata
zipimport_data
.ruff.toml
__init__.py
__main__.py
_code_definitions.py
_crossinterp_definitions.py
_test_atexit.py
_test_eintr.py [3.14] gh-137397: Skip test_os_open on NetBSD due to indefinite hang (GH-137398) (#137406) 2025-09-08 17:58:44 +03:00
_test_embed_structseq.py
_test_gc_fast_cycles.py
_test_monitoring_shutdown.py
_test_multiprocessing.py [3.14] gh-138813: Fix mutable default kwargs={} in multiprocessing BaseProcess and DummyProcess to use None (GH-138814) (#139084) 2025-10-08 00:37:30 +00:00
_test_venv_multiprocessing.py
archiver_tests.py
audiotests.py
audit-tests.py
autotest.py
bisect_cmd.py
clinic.test.c
cov.py
curses_tests.py
datetimetester.py [3.14] gh-123681: Check NORMALIZE_CENTURY behavior at runtime; require C99 (GH-136022) (GH-137947) 2025-10-07 19:59:06 +02:00
dis_module.py
empty.vbs
exception_hierarchy.txt
fork_wait.py
levenshtein_examples.json
list_tests.py [3.14] gh-138584: Increase test coverage for collections.UserList (GH-138590) (#138612) 2025-09-07 10:42:19 +00:00
lock_tests.py
mapping_tests.py
memory_watchdog.py
mime.types
mock_socket.py
mp_fork_bomb.py
mp_preload.py
mp_preload_flush.py
mp_preload_main.py [3.14] gh-126631: gh-137996: fix pre-loading of __main__ (GH-135295) (#138607) 2025-10-08 00:37:04 +00:00
multibytecodec_support.py
pickletester.py
profilee.py
pstats.pck
pyclbr_input.py
pythoninfo.py [3.14] Use test.support.is_wasm32 flag for is_emscripten or is_wasi for generic checks (GH-136815) (#138643) 2025-09-08 16:20:00 +03:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
regrtest.py
relimport.py
seq_tests.py
signalinterproctester.py
ssl_servers.py
ssltests.py
string_tests.py
test___all__.py
test__colorize.py
test__interpchannels.py [3.14] gh-123828: Fix data race in _interpchannels._waiting_release (GH-124107) (GH-139517) 2025-10-07 13:29:37 -04:00
test__interpreters.py
test__locale.py
test__opcode.py
test__osx_support.py
test_abc.py
test_abstract_numbers.py
test_android.py [3.14] Make Android streams respect the unbuffered (-u) option (GH-138806) (#139108) 2025-09-29 11:16:25 +03:00
test_annotationlib.py [3.14] gh-138558: Improve handling of Template annotations in annotationlib (GH-139072) (#139272) 2025-10-07 21:23:22 -07:00
test_apple.py
test_argparse.py [3.14] GH-139809: Fix argparse subcommand prog not respecting color environment variables (GH-139818) (#139866) 2025-10-09 17:19:54 +00:00
test_array.py
test_asdl_parser.py
test_asyncgen.py
test_atexit.py
test_audit.py
test_augassign.py
test_base64.py
test_baseexception.py
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_build_details.py [3.14] gh-136264: Fix `--relative-paths` for PEP 739's build-details.json (GH-138510) (#138638) 2025-09-09 19:15:40 +03:00
test_builtin.py
test_bytes.py [3.14] gh-71679: Improve tests for repr() of bytes and bytearray (GH-138180) (GH-138182) 2025-10-08 14:27:28 +02:00
test_bz2.py
test_c_locale_coercion.py [3.14] gh-90548: Allow Alpine/MUSL to pass test_c_locale_coercion. (GH-134454) (#138600) 2025-09-07 10:46:37 +03:00
test_calendar.py
test_call.py [3.14] GH-137573: Add test to check that the margin used for overflow protection is larger than the stack space used by the interpreter (GH-137724) (GH-139295) 2025-10-08 14:44:16 +02:00
test_charmapcodec.py
test_class.py
test_clinic.py [3.14] gh-139748: fix leaks in AC error paths when using unicode FS-b… (#139789) 2025-10-08 22:16:21 +05:30
test_cmath.py
test_cmd.py
test_cmd_line.py
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 [3.14] gh-58124: Avoid CP_UTF8 in UnicodeDecodeError (GH-137415) (#137460) 2025-10-07 19:39:31 +02:00
test_codeop.py
test_collections.py [3.14] gh-137463: Update validate_abstract_methods in test_collections.py (GH-137464) (GH-137503) 2025-10-08 14:30:54 +02:00
test_colorsys.py
test_compare.py
test_compile.py [3.14] gh-139748: fix leaks in AC error paths when using unicode FS-b… (#139789) 2025-10-08 22:16:21 +05:30
test_compileall.py
test_compiler_assemble.py
test_compiler_codegen.py
test_complex.py
test_configparser.py
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_crossinterp.py
test_csv.py
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 [3.14] gh-135386: Fix "unable to open database file" errors on readonly DB (GH-135566) (GH-138056) 2025-10-08 11:41:09 +03:00
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_dictcomps.py
test_dictviews.py
test_difflib.py [3.14] gh-138669: Increase test coverage for difflib (GH-138670) (#138817) 2025-09-15 00:20:32 +03:00
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
test_ensurepip.py
test_enum.py
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
test_extcall.py
test_external_inspection.py
test_faulthandler.py
test_fcntl.py
test_file.py
test_file_eintr.py
test_filecmp.py
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
test_frozen.py
test_fstring.py [3.14] gh-139516: Fix lambda colon start format spec in f-string in tokenizer (GH-139657) (#139701) 2025-10-07 18:35:17 +01:00
test_ftplib.py
test_funcattrs.py
test_functools.py
test_gc.py
test_generated_cases.py [3.14] gh-138264: Fix gcc 14 compiler warnings (GH-138265) (GH-138426) 2025-10-07 22:26:05 +02:00
test_generator_stop.py
test_generators.py
test_genericalias.py [3.14] gh-105487: Fix __dir__ entries of GenericAlias (GH-138578) (GH-138629) 2025-10-07 23:12:13 +02:00
test_genericclass.py
test_genericpath.py
test_genexps.py
test_getopt.py
test_getpass.py [3.14] gh-138514: getpass: restrict echo_char to a single ASCII character (GH-138591) (#138988) 2025-09-17 17:20:45 +03:00
test_getpath.py
test_gettext.py
test_glob.py
test_global.py
test_grammar.py
test_graphlib.py
test_grp.py
test_gzip.py
test_hash.py
test_hashlib.py
test_heapq.py
test_hmac.py [3.14] gh-136912: fix handling of OverflowError in hmac.digest (GH-136917) (#137116) 2025-10-08 12:09:45 +02:00
test_html.py
test_htmlparser.py [3.14] gh-135661: Fix CDATA section parsing in HTMLParser (GH-135665) (#137772) 2025-09-08 18:31:41 +03:00
test_http_cookiejar.py
test_http_cookies.py
test_httplib.py
test_httpservers.py [3.14] gh-70765: avoid waiting for HTTP headers when parsing HTTP/0.9 requests (GH-139514) (#139600) 2025-10-08 10:39:59 +00:00
test_idle.py
test_imaplib.py [3.14] gh-78319: Fix implementation of IMAP APPEND UTF8 (GH-9436) (GH-139406) 2025-10-07 22:12:30 +02:00
test_index.py
test_int.py
test_int_literal.py
test_io.py [3.14] gh-127647: Fix and enable I/O protocol tests (GH-138369) (#138376) 2025-10-07 21:29:02 -07:00
test_ioctl.py
test_ipaddress.py
test_isinstance.py
test_iter.py
test_iterlen.py
test_itertools.py
test_keyword.py
test_keywordonlyarg.py
test_kqueue.py
test_largefile.py
test_launcher.py
test_linecache.py
test_list.py
test_listcomps.py
test_lltrace.py
test_locale.py [3.14] gh-130567: Enable previously skipped locale tests on FreeBSD and macOS (GH-138652) (GH-139421) 2025-10-07 22:11:34 +02:00
test_logging.py
test_long.py [3.14] gh-71810: Fix corner case (length==0) for int.to_bytes() (GH-138739) (#138782) 2025-09-12 16:22:43 +03:00
test_longexp.py
test_lzma.py
test_mailbox.py
test_marshal.py
test_math.py
test_math_property.py
test_memoryio.py
test_memoryview.py
test_metaclass.py
test_mimetypes.py [3.14] gh-136507: Fix mimetypes CLI to handle multiple file parameters (GH-136508) (GH-138140) 2025-10-07 19:59:52 +02:00
test_minidom.py
test_mmap.py [3.14] gh-116738: make mmap module thread-safe (GH-139237) (#139825) 2025-10-09 20:19:03 +05:30
test_modulefinder.py
test_monitoring.py
test_msvcrt.py
test_multibytecodec.py
test_multiprocessing_main_handling.py
test_named_expressions.py
test_netrc.py
test_ntpath.py
test_nturl2path.py
test_numeric_tower.py
test_opcache.py [3.14] gh-139525: Don't specialize functions which have a modified vectorcall (GH-139524) (#139709) 2025-10-08 09:13:34 -07:00
test_opcodes.py
test_openpty.py
test_operator.py
test_optimizer.py
test_optparse.py
test_ordered_dict.py
test_os.py
test_osx_env.py
test_patma.py
test_pdb.py
test_peepholer.py
test_pep646_syntax.py
test_perf_profiler.py
test_perfmaps.py
test_pickle.py
test_picklebuffer.py
test_pickletools.py [3.14] gh-139646: fix typo in pickletools error message (GH-139647) (GH-139649) 2025-10-07 20:19:01 +02:00
test_pkg.py
test_pkgutil.py
test_platform.py [3.14] gh-138130: Fix return value of libc_ver() on Emscripten (GH-138132) (#138312) 2025-10-05 16:03:49 +03:00
test_plistlib.py
test_poll.py
test_popen.py
test_poplib.py
test_positional_only_arg.py
test_posix.py [3.14] gh-138163: skip failures if tests are run with SCHED_BATCH on glibc (GH-138576) (GH-138820) 2025-10-07 20:01:51 +02:00
test_posixpath.py
test_pow.py
test_pprint.py
test_print.py
test_profile.py
test_property.py
test_pstats.py
test_pty.py [3.14] Use test.support.is_wasm32 flag for is_emscripten or is_wasi for generic checks (GH-136815) (#138643) 2025-09-08 16:20:00 +03:00
test_pulldom.py
test_pwd.py
test_py_compile.py
test_pyclbr.py
test_pyexpat.py [3.14] gh-139400: Make sure that parent parsers outlive their subparsers in pyexpat (GH-139403) (#139606) 2025-10-05 16:02:11 +00:00
test_queue.py
test_quopri.py
test_raise.py
test_random.py
test_range.py
test_re.py [3.14] gh-91214: Skip tests failing on Solaris (GH-31978) (GH-138450) 2025-10-08 11:42:42 +03:00
test_readline.py
test_regrtest.py [3.14] gh-139208: Fix regrtest --fast-ci --verbose (GH-139240) (#139260) 2025-10-07 19:39:06 +02:00
test_remote_pdb.py [3.14] Improve permission error messages in pdb and asyncio.tools (GH-134290) (#138826) 2025-09-12 12:20:20 +00:00
test_repl.py
test_reprlib.py
test_resource.py [3.14] gh-137044: Support large limit values in getrlimit() and setrlimit() (GH-137338) (#137506) 2025-10-07 20:43:12 +02:00
test_richcmp.py
test_rlcompleter.py
test_robotparser.py [3.14] gh-88375, gh-111788: Fix parsing errors and normalization in robotparser (GH-138502) (GH-138548) 2025-10-08 14:22:44 +02:00
test_runpy.py
test_sax.py
test_sched.py
test_scope.py
test_script_helper.py
test_secrets.py
test_select.py
test_selectors.py
test_set.py
test_setcomps.py
test_shelve.py
test_shlex.py [3.14] gh-138804: Check type in shlex.quote (GH-138809) (#138846) 2025-09-13 21:29:50 +03:00
test_shutil.py
test_signal.py
test_site.py [3.14] gh-131178: Add tests for site command-line interface (GH-133582) (GH-137832) 2025-10-07 19:11:43 +00:00
test_slice.py
test_smtplib.py [3.14] gh-136134: smtplib: fix CRAM-MD5 on FIPS-only environments (GH-136623) (#138086) 2025-09-04 16:07:59 +03:00
test_smtpnet.py
test_socket.py [3.14] gh-91214: Skip tests failing on Solaris (GH-31978) (GH-138450) 2025-10-08 11:42:42 +03:00
test_socketserver.py
test_sort.py
test_source_encoding.py [3.14] gh-63161: Add more tests for source encoding (GH-139440) (GH-139442) 2025-10-07 22:51:14 +02:00
test_ssl.py [3.14] gh-134698: Hold a lock when the thread state is detached in ssl (GH-134724) (GH-137107) 2025-10-07 18:49:22 +00:00
test_stable_abi_ctypes.py
test_startfile.py
test_stat.py
test_statistics.py
test_str.py
test_strftime.py
test_string_literals.py
test_stringprep.py
test_strptime.py [3.14] gh-139624: Skip problematic locales on AIX in test_date_locale2 (GH-139625) (GH-139644) 2025-10-07 20:02:42 +02:00
test_strtod.py
test_struct.py
test_structseq.py
test_subclassinit.py Enable ruff on several more files in Lib/test (#110929) 2023-10-16 15:57:01 +01:00
test_subprocess.py
test_sundry.py
test_super.py
test_support.py [3.14] Use test.support.is_wasm32 flag for is_emscripten or is_wasi for generic checks (GH-136815) (#138643) 2025-09-08 16:20:00 +03:00
test_symtable.py [3.14] gh-139748: fix leaks in AC error paths when using unicode FS-b… (#139789) 2025-10-08 22:16:21 +05:30
test_syntax.py
test_sys.py
test_sys_setprofile.py
test_sys_settrace.py
test_sysconfig.py [3.14] Synced docs and docstring for sysconfig.get_platform (GH-135530) (#138976) 2025-10-04 17:55:25 +03:00
test_syslog.py
test_tabnanny.py
test_tarfile.py [3.14] gh-81325: Support path-like objects with streaming TarFile (GH-137188) (#137365) 2025-10-07 20:40:42 +02:00
test_tcl.py
test_tempfile.py
test_termios.py
test_textwrap.py [3.14] gh-139065: Fix trailing space before long word in textwrap (GH-139070) (GH-139902) 2025-10-10 13:54:46 +00:00
test_thread.py
test_thread_local_bytecode.py
test_threadedtempfile.py
test_threading.py [3.14] gh-138004: Fix setting a thread name on OpenIndiana (GH-138017) (#138384) 2025-10-07 20:58:35 +02:00
test_threading_local.py
test_threadsignals.py
test_time.py
test_timeit.py
test_timeout.py
test_tokenize.py [3.14] gh-63161: Add more tests for source encoding (GH-139440) (GH-139442) 2025-10-07 22:51:14 +02:00
test_trace.py
test_traceback.py
test_tracemalloc.py
test_tstring.py
test_ttk_textonly.py
test_tty.py
test_tuple.py
test_turtle.py [3.14] gh-138772: Add tests for Turtle.dot() signature (GH-138773) (GH-139326) 2025-10-07 20:24:59 +02:00
test_type_aliases.py
test_type_annotations.py [3.14] gh-138349: Fix crash when combining module-level annotation and listcomp (#138363) (#138749) 2025-09-11 08:43:57 +03:00
test_type_cache.py
test_type_comments.py
test_type_params.py
test_typechecks.py
test_types.py
test_typing.py [3.14] gh-137706: make typing._is_unpacked_typevartuple check for True instead of truthy (GH-137712) (#138574) 2025-10-07 21:23:47 -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
test_urllib.py
test_urllib2.py
test_urllib2_localnet.py
test_urllib2net.py
test_urllib_response.py
test_urllibnet.py
test_urlparse.py
test_userdict.py
test_userlist.py
test_userstring.py
test_utf8_mode.py
test_utf8source.py
test_uuid.py
test_venv.py [3.14] gh-139308: Skip test_special_chars_csh on NetBSD due to csh variable expansion issue (GH-139341) (GH-139559) 2025-10-07 20:20:57 +02: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
test_winreg.py
test_winsound.py
test_with.py
test_wmi.py
test_wsgiref.py
test_xml_dom_minicompat.py
test_xml_dom_xmlbuilder.py
test_xml_etree.py [3.14] gh-139210: Fix use-after-free in xml.etree.ElementTree.iterparse() (GH-139211) (GH-139455) 2025-10-07 21:13:27 +02: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
test_zstd.py
testcodec.py
tf_inherit_check.py
win_console_handler.py
xmltests.py