cpython/Lib/test
C.A.M. Gerlach a34c796238
gh-75729: Fix os.spawn tests not handling spaces on Windows (#99150)
* Quote paths in os.spawn tests on Windows so they work with spaces

* Add NEWS entry for os spawn test fix

* Fix code style to avoid double negative in os.spawn tests

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>

---------

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-04-08 10:37:23 +03:00
..
audiodata
capath
cjkencodings
crashers
data
decimaltestdata
dtracedata
encoded_modules
imghdrdata
leakers
libregrtest bpo-46523: fix tests rerun when setUp[Class|Module] fails (#30895) 2023-04-07 12:43:41 +02:00
sndhdrdata
subprocessdata
support bpo-46523: fix tests rerun when setUp[Class|Module] fails (#30895) 2023-04-07 12:43:41 +02:00
test_asyncio gh-102799: use sys.exception() instead of sys.exc_info() in tests (#103293) 2023-04-06 11:08:25 +01:00
test_capi
test_ctypes
test_email
test_import gh-101659: Clean Up the General Import Tests for Subinterpreters (gh-103151) 2023-03-31 12:18:33 -06:00
test_importlib GH-102700: allow built-in modules to be submodules (GH-103162) 2023-04-06 14:19:54 -07:00
test_json
test_lib2to3
test_peg_generator
test_sqlite3 gh-101947: Remove size check from sqlite3 serialize test (#102914) 2023-03-22 14:05:08 +01:00
test_tkinter
test_tomllib
test_tools
test_ttk
test_unittest gh-103329: Add regression test for PropertyMock with side effect (#103358) 2023-04-07 20:09:00 -06:00
test_warnings
test_zipfile gh-86094: Add support for Unicode Path Extra Field in ZipFile (gh-102566) 2023-04-05 20:54:48 +09:00
test_zoneinfo
tracedmodules
typinganndata
xmltestdata
ziptestdata
__init__.py
__main__.py
_test_atexit.py
_test_eintr.py
_test_embed_set_config.py
_test_embed_structseq.py
_test_multiprocessing.py
_test_venv_multiprocessing.py
_testcppext.cpp
_typed_dict_helper.py
allsans.pem
ann_module.py
ann_module2.py
ann_module3.py
ann_module4.py
ann_module5.py
ann_module6.py
ann_module7.py
ann_module8.py
audiotest.au
audiotests.py
audit-tests.py
autotest.py
bad_coding.py
bad_coding2.py
bad_getattr.py
bad_getattr2.py
bad_getattr3.py
badcert.pem
badkey.pem
badsyntax_3131.py
badsyntax_future3.py
badsyntax_future4.py
badsyntax_future5.py
badsyntax_future6.py
badsyntax_future7.py
badsyntax_future8.py
badsyntax_future9.py
badsyntax_future10.py
badsyntax_pep3120.py
bisect_cmd.py
cfgparser.1
cfgparser.2
cfgparser.3
clinic.test
cmath_testcases.txt
coding20731.py
curses_tests.py
dataclass_module_1.py
dataclass_module_1_str.py
dataclass_module_2.py
dataclass_module_2_str.py
dataclass_textanno.py
datetimetester.py
dis_module.py
doctest_aliases.py
doctest_lineno.py
double_const.py
empty.vbs
exception_hierarchy.txt
ffdh3072.pem
final_a.py
final_b.py
floating_points.txt
fork_wait.py
formatfloat_testcases.txt
future_test1.py
future_test2.py
gdb_sample.py
good_getattr.py
idnsans.pem
ieee754.txt
imp_dummy.py
inspect_fodder.py gh-102799: use exception instance instead of sys.exc_info() (#102885) 2023-03-31 11:23:02 +01:00
inspect_fodder2.py
inspect_stock_annotations.py
inspect_stringized_annotations.py
inspect_stringized_annotations_2.py
keycert.passwd.pem
keycert.pem
keycert2.pem
keycert3.pem
keycert4.pem
keycertecc.pem
levenshtein_examples.json
list_tests.py
lock_tests.py
mailcap.txt
make_ssl_certs.py
mapping_tests.py
math_testcases.txt
memory_watchdog.py
mime.types
mock_socket.py
mod_generics_cache.py
mp_fork_bomb.py
mp_preload.py
multibytecodec_support.py
nokia.pem
nosan.pem
nullbytecert.pem
nullcert.pem
pickletester.py
profilee.py gh-102799: use sys.exception() instead of sys.exc_info() in tests (#103293) 2023-04-06 11:08:25 +01:00
pstats.pck
pycacert.pem
pycakey.pem
pyclbr_input.py
pydoc_mod.py
pydocfodder.py
pythoninfo.py
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
recursion.tar
regrtest.py
relimport.py
reperf.py
revocation.crl
sample_doctest.py
sample_doctest_no_docstrings.py
sample_doctest_no_doctests.py
secp384r1.pem
selfsigned_pythontestdotnet.pem
seq_tests.py
setup_testcppext.py
sgml_input.html
signalinterproctester.py
Sine-1000Hz-300ms.aif
smtpd.py
sortperf.py
ssl_cert.pem
ssl_key.passwd.pem
ssl_key.pem
ssl_servers.py
ssltests.py
string_tests.py
talos-2019-0758.pem
test___all__.py
test___future__.py
test__locale.py
test__opcode.py gh-102859: Remove JUMP_IF_FALSE_OR_POP and JUMP_IF_TRUE_OR_POP (#102870) 2023-03-22 18:10:48 +00:00
test__osx_support.py
test__xxinterpchannels.py gh-101659: Add _Py_AtExit() (gh-103298) 2023-04-05 18:42:02 -06:00
test__xxsubinterpreters.py
test_abc.py
test_abstract_numbers.py
test_aifc.py
test_argparse.py
test_array.py
test_asdl_parser.py
test_ast.py
test_asyncgen.py
test_atexit.py
test_audioop.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_builtin.py
test_bytes.py
test_bz2.py
test_c_locale_coercion.py
test_calendar.py
test_call.py
test_cgi.py
test_cgitb.py
test_charmapcodec.py
test_class.py gh-102799: use sys.exception() instead of sys.exc_info() in tests (#103293) 2023-04-06 11:08:25 +01:00
test_clinic.py
test_cmath.py
test_cmd.py
test_cmd_line.py
test_cmd_line_script.py
test_code.py gh-101865: Deprecate co_lnotab from code objects as per PEP 626 (#101866) 2023-04-03 17:35:04 +02:00
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-102406: replace exception chaining by PEP-678 notes in codecs (#102407) 2023-03-21 21:36:31 +00:00
test_codeop.py
test_collections.py
test_colorsys.py
test_compare.py
test_compile.py GH-100982: Break up COMPARE_AND_BRANCH (GH-102801) 2023-03-23 15:25:09 -07:00
test_compileall.py
test_compiler_codegen.py
test_complex.py
test_concurrent_futures.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_cppext.py
test_cprofile.py gh-102799: use sys.exception() instead of sys.exc_info() in tests (#103293) 2023-04-06 11:08:25 +01:00
test_crashers.py
test_crypt.py
test_csv.py
test_curses.py
test_dataclasses.py gh-98886: Fix issues with dataclass fields with special underscore names (#102032) 2023-03-25 14:40:11 -07:00
test_datetime.py
test_dbm.py
test_dbm_dumb.py
test_dbm_gnu.py
test_dbm_ndbm.py
test_decimal.py
test_decorators.py
test_defaultdict.py
test_deque.py
test_descr.py gh-103272: regression test for getattr exception in property (#103336) 2023-04-07 12:11:11 -07:00
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 GH-88691: Shrink the CALL caches (GH-103230) 2023-04-05 14:15:49 -07:00
test_doctest.py
test_doctest.txt
test_doctest2.py
test_doctest2.txt
test_doctest3.txt
test_doctest4.txt
test_docxmlrpc.py
test_dtrace.py
test_dynamic.py
test_dynamicclassattribute.py
test_eintr.py
test_embed.py
test_ensurepip.py
test_enum.py gh-93910: [Enum] remove member.member deprecation (GH-103236) 2023-04-05 17:33:52 -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-102799: use sys.exception() instead of sys.exc_info() in tests (#103293) 2023-04-06 11:08:25 +01:00
test_extcall.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
test_ftplib.py
test_funcattrs.py
test_functools.py
test_future.py
test_future3.py
test_future4.py
test_future5.py
test_gc.py
test_gdb.py
test_generator_stop.py
test_generators.py gh-102799: use sys.exception() instead of sys.exc_info() in tests (#103293) 2023-04-06 11:08:25 +01:00
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
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 gh-103256: Fix hmac algorithm to support fallback implementation (gh-103286) 2023-04-07 10:51:29 +09:00
test_html.py
test_htmlparser.py
test_http_cookiejar.py
test_http_cookies.py
test_httplib.py gh-66897: Upgrade HTTP CONNECT to protocol HTTP/1.1 (#8305) 2023-04-04 21:55:24 -07:00
test_httpservers.py
test_idle.py
test_imaplib.py
test_imghdr.py
test_imp.py
test_index.py
test_inspect.py gh-102799: use exception instance instead of sys.exc_info() (#102885) 2023-03-31 11:23:02 +01:00
test_int.py
test_int_literal.py
test_interpreters.py
test_io.py
test_ioctl.py
test_ipaddress.py
test_isinstance.py
test_iter.py
test_iterlen.py
test_itertools.py gh-102876: remove superfluous parens from itertools.batched recipe (GH-102877) 2023-03-21 12:06:18 -05:00
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
test_logging.py gh-102799: use sys.exception() instead of sys.exc_info() in tests (#103293) 2023-04-06 11:08:25 +01:00
test_long.py
test_longexp.py
test_lzma.py
test_mailbox.py gh-93121: fix test_mailbox where some test cases were accidentally dropped (#93242) 2023-04-06 23:19:11 +01:00
test_mailcap.py gh-103186: assert in tests that UnsafeMailcapInput warnings are provided (#103217) 2023-04-06 19:13:33 +01:00
test_marshal.py
test_math.py
test_memoryio.py
test_memoryview.py
test_metaclass.py
test_mimetypes.py
test_minidom.py
test_mmap.py
test_module.py
test_modulefinder.py
test_msilib.py
test_multibytecodec.py
test_multiprocessing_fork.py
test_multiprocessing_forkserver.py
test_multiprocessing_main_handling.py
test_multiprocessing_spawn.py
test_named_expressions.py
test_netrc.py
test_nis.py
test_nntplib.py
test_ntpath.py GH-88013: Fix TypeError raised by ntpath.realpath in some cases (GH-102813) 2023-04-07 12:56:00 +01:00
test_numeric_tower.py
test_opcache.py
test_opcodes.py
test_openpty.py
test_operator.py
test_optparse.py
test_ordered_dict.py
test_os.py gh-75729: Fix os.spawn tests not handling spaces on Windows (#99150) 2023-04-08 10:37:23 +03:00
test_ossaudiodev.py
test_osx_env.py
test_pathlib.py GH-76846, GH-85281: Call __new__() and __init__() on pathlib subclasses (GH-102789) 2023-04-03 19:57:11 +01:00
test_patma.py
test_pdb.py gh-103225: Fixed zero lineno issue for pdb (#103265) 2023-04-07 18:57:46 +01:00
test_peepholer.py gh-102859: Remove JUMP_IF_FALSE_OR_POP and JUMP_IF_TRUE_OR_POP (#102870) 2023-03-22 18:10:48 +00:00
test_pep646_syntax.py
test_perf_profiler.py
test_pickle.py gh-103092: Isolate _pickle module (#102982) 2023-04-04 15:38:54 +05:30
test_picklebuffer.py
test_pickletools.py
test_pipes.py
test_pkg.py
test_pkgutil.py
test_platform.py
test_plistlib.py
test_poll.py
test_popen.py
test_poplib.py
test_positional_only_arg.py
test_posix.py
test_posixpath.py
test_pow.py
test_pprint.py
test_print.py
test_profile.py gh-102799: use sys.exception() instead of sys.exc_info() in tests (#103293) 2023-04-06 11:08:25 +01:00
test_property.py
test_pstats.py
test_pty.py
test_pulldom.py
test_pwd.py
test_py_compile.py
test_pyclbr.py
test_pydoc.py
test_pyexpat.py
test_queue.py
test_quopri.py
test_raise.py
test_random.py
test_range.py
test_re.py
test_readline.py
test_regrtest.py bpo-46523: fix tests rerun when setUp[Class|Module] fails (#30895) 2023-04-07 12:43:41 +02:00
test_repl.py
test_reprlib.py
test_resource.py
test_richcmp.py
test_rlcompleter.py
test_robotparser.py
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
test_shutil.py GH-75586: Make shutil.which() on Windows more consistent with the OS (GH-103179) 2023-04-04 23:24:13 +01:00
test_signal.py
test_site.py
test_slice.py
test_smtplib.py
test_smtpnet.py
test_sndhdr.py
test_socket.py gh-102943: Stop checking localized error text in socket tests on Windows (GH-102944) 2023-03-23 16:34:48 +00:00
test_socketserver.py
test_sort.py
test_source_encoding.py
test_spwd.py
test_ssl.py gh-102799: use sys.exception() instead of sys.exc_info() in tests (#103293) 2023-04-06 11:08:25 +01:00
test_stable_abi_ctypes.py
test_startfile.py
test_stat.py
test_statistics.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_sunau.py
test_sundry.py
test_super.py
test_support.py
test_symtable.py
test_syntax.py
test_sys.py GH-89987: Shrink the BINARY_SUBSCR caches (GH-103022) 2023-03-29 15:53:30 -07:00
test_sys_setprofile.py
test_sys_settrace.py
test_sysconfig.py
test_syslog.py
test_tabnanny.py
test_tarfile.py gh-74468: [tarfile] Fix incorrect name attribute of ExFileObject (GH-102424) 2023-03-27 16:21:07 -07:00
test_tcl.py
test_telnetlib.py
test_tempfile.py gh-100131: Add optional delete parameter to tempfile.TemporaryDirectory() (#100132) 2023-03-24 14:52:06 -07:00
test_textwrap.py
test_thread.py
test_threadedtempfile.py
test_threading.py
test_threading_local.py
test_threadsignals.py
test_time.py
test_timeit.py
test_timeout.py
test_tix.py
test_tokenize.py
test_trace.py
test_traceback.py gh-102799: use sys.exception() instead of sys.exc_info() in tests (#103293) 2023-04-06 11:08:25 +01:00
test_tracemalloc.py
test_ttk_textonly.py
test_tuple.py
test_turtle.py
test_type_annotations.py
test_type_cache.py
test_type_comments.py
test_typechecks.py
test_types.py
test_typing.py gh-74690: Add more tests for runtime-checkable protocols (#103347) 2023-04-07 18:21:19 +01:00
test_ucn.py
test_unary.py
test_unicode.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_uu.py
test_uuid.py gh-94684: uuid: support bytes in the name argument to uuid3/5 (#94709) 2023-03-23 17:42:43 -06:00
test_venv.py
test_wait3.py
test_wait4.py
test_wave.py
test_weakref.py
test_weakset.py
test_webbrowser.py bpo-44844: Enable detection of Microsoft Edge browser in webbrowser module (GH-29908) 2023-04-04 17:00:03 +01:00
test_winconsoleio.py
test_winreg.py
test_winsound.py
test_with.py gh-102799: use exception instance instead of sys.exc_info() (#102885) 2023-03-31 11:23:02 +01:00
test_wmi.py
test_wsgiref.py
test_xdrlib.py
test_xml_dom_minicompat.py
test_xml_etree.py
test_xml_etree_c.py
test_xmlrpc.py
test_xmlrpc_net.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
testtar.tar
testtar.tar.xz
tf_inherit_check.py
time_hashlib.py
tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt
tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt
tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt
tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt
tokenize_tests.txt
win_console_handler.py
xmltests.py
zip_cp437_header.zip
zipdir.zip