cpython/Lib/test
Serhiy Storchaka f37a983102
[3.8] bpo-38005: Fixed comparing and creating of InterpreterID and ChannelID. (GH-15652) (GH-16145)
* Fix a crash in comparing with float (and maybe other crashes).
* They are now never equal to strings and non-integer numbers.
* Comparison with a large number no longer raises OverflowError.
* Arbitrary exceptions no longer silenced in constructors and comparisons.
* TypeError raised in the constructor contains now the name of the type.
* Accept only ChannelID and int-like objects in channel functions.
* Accept only InterpreterId, int-like objects and str in the InterpreterId constructor.
* Accept int-like objects, not just int in interpreter related functions.
(cherry picked from commit bf169915ec)
2019-09-14 19:36:19 +03:00
..
audiodata
capath
cjkencodings
crashers
data
decimaltestdata
dtracedata
eintrdata
encoded_modules
imghdrdata
leakers
libregrtest [3.8] bpo-37936: Systematically distinguish rooted vs. unrooted in .gitignore (GH-15823) (GH-15900) 2019-09-11 11:31:12 +01:00
sndhdrdata
subprocessdata
support bpo-37583: Add err 113 to support.get_socket_conn_refused_errs() (GH-14729) 2019-08-13 11:11:49 -07:00
test_asyncio bpo-37199: Replace the early returns added in c2cda63. (GH-14535) 2019-09-13 09:12:33 -07:00
test_email [3.8] bpo-37764: Fix infinite loop when parsing unstructured email headers. (GH-15239) (GH-15686) 2019-09-04 18:20:40 -07:00
test_import [3.8] bpo-37409: fix relative import with no parent (GH-14956) (GH-15913) 2019-09-11 12:38:22 +01:00
test_importlib Fix typo in test_api.py. (GH-16119) 2019-09-13 10:49:09 -07:00
test_json bpo-37805: Add tests for json.dump(..., skipkeys=True) (GH-15489) 2019-08-26 00:27:31 -07:00
test_tools bpo-37834: Normalise handling of reparse points on Windows (GH-15370) 2019-08-21 15:52:42 -07:00
test_warnings Fix typos mostly in comments, docs and test names (GH-15209) 2019-08-30 13:42:54 -07:00
tracedmodules
xmltestdata
ziptestdata bpo-28494: Test existing zipfile working behavior. (GH-15853) 2019-09-10 15:57:54 -07:00
Sine-1000Hz-300ms.aif
__init__.py
__main__.py
_test_multiprocessing.py
allsans.pem
ann_module.py
ann_module2.py
ann_module3.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
bytecode_helper.py
cfgparser.1
cfgparser.2
cfgparser.3
clinic.test [3.8] bpo-37206: Unrepresentable default values no longer represented as None. (GH-13933) (GH-16141) 2019-09-14 13:31:50 +03:00
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
datetimetester.py bpo-35066: Make trailing percent test more portable. (GH-15907) 2019-09-11 04:47:16 -07:00
dis_module.py
doctest_aliases.py
double_const.py
empty.vbs
exception_hierarchy.txt [3.8] bpo-37757: Disallow PEP 572 cases that expose implementation details (GH-15491) 2019-08-26 00:41:47 +10:00
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
inspect_fodder2.py
keycert.passwd.pem
keycert.pem
keycert2.pem
keycert3.pem
keycert4.pem
keycertecc.pem
list_tests.py
lock_tests.py Fix typos mostly in comments, docs and test names (GH-15209) 2019-08-30 13:42:54 -07:00
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
nullbytecert.pem
nullcert.pem
outstanding_bugs.py
pickletester.py Don't skip pickle check_frame_opcodes() (GH-15027) 2019-07-30 13:10:15 -07:00
profilee.py
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 bpo-36528: Remove duplicate re tests. (GH-2689) 2019-09-11 09:46:29 -07:00
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
sgml_input.html
signalinterproctester.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
test__osx_support.py
test__xxsubinterpreters.py [3.8] bpo-38005: Fixed comparing and creating of InterpreterID and ChannelID. (GH-15652) (GH-16145) 2019-09-14 19:36:19 +03:00
test_abc.py
test_abstract_numbers.py
test_aifc.py
test_argparse.py [3.8] bpo-29553: Fix ArgumentParser.format_usage() for mutually exclusive groups (GH-14976) (GH-15494) (GH-15624) 2019-08-30 15:25:38 -07:00
test_array.py
test_asdl_parser.py
test_ast.py [3.8] bpo-37950: Fix ast.dump() when call with incompletely initialized node. (GH-15510) (GH-15582) 2019-08-29 10:50:28 +03:00
test_asyncgen.py
test_asynchat.py
test_asyncore.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_binhex.py
test_binop.py
test_bisect.py
test_bool.py
test_buffer.py
test_bufio.py
test_builtin.py Fix the ImportWarning regarding __spec__ and __package__ being None (GH-16003) 2019-09-13 03:53:22 -07:00
test_bytes.py
test_bz2.py bpo-37707: Exclude expensive unit tests from PGO task (GH-15009) (#15024) 2019-07-30 11:34:32 -07:00
test_c_locale_coercion.py
test_calendar.py
test_call.py
test_capi.py [3.8] bpo-37879: Suppress subtype_dealloc decref when base type is a C heap type (GH-15323, GH-16004) (GH-15966) 2019-09-12 10:44:46 +01:00
test_cgi.py bpo-20504 : in cgi.py, fix bug when a multipart/form-data request has… (GH-10638) 2019-09-11 05:09:23 -07:00
test_cgitb.py
test_charmapcodec.py
test_class.py
test_clinic.py
test_cmath.py
test_cmd.py
test_cmd_line.py
test_cmd_line_script.py Fix typos mostly in comments, docs and test names (GH-15209) 2019-08-30 13:42:54 -07:00
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 bpo-37876: Tests for ROT-13 codec (GH-15314) 2019-09-09 09:12:01 -07:00
test_codeop.py
test_collections.py Fix typos mostly in comments, docs and test names (GH-15209) 2019-08-30 13:42:54 -07:00
test_colorsys.py
test_compare.py
test_compile.py
test_compileall.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_cprofile.py
test_crashers.py
test_crypt.py bpo-25172: Add test for crypt ImportError on Windows (GH-15252) 2019-08-13 14:52:20 -07:00
test_csv.py
test_ctypes.py
test_curses.py
test_dataclasses.py bpo-37868: Improve is_dataclass for instances. (GH-15325) 2019-08-19 22:59:21 -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 bpo-37619: update_one_slot() should not ignore wrapper descriptors for wrong type (GH-15838) 2019-09-10 05:55:12 -07:00
test_descrtut.py
test_devpoll.py closes bpo-37252: Fix devpoll tests. (GH-14017) (GH-15948) 2019-09-11 16:37:38 +02:00
test_dict.py
test_dict_version.py
test_dictcomps.py
test_dictviews.py
test_difflib.py Fix difflib `?` hint in diff output when dealing with tabs (GH-15201) 2019-08-21 12:18:26 -07:00
test_difflib_expect.html
test_dis.py [3.8] bpo-37830: Fix compilation of break and continue in finally. (GH-15320) (GH-15456) 2019-08-24 13:41:53 +03:00
test_distutils.py
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_dummy_thread.py
test_dummy_threading.py
test_dynamic.py
test_dynamicclassattribute.py
test_eintr.py
test_embed.py bpo-36763: PyConfig_Read() handles PySys_AddXOption() (GH-15431) (GH-15435) 2019-08-23 21:16:51 +02:00
test_ensurepip.py
test_enum.py
test_enumerate.py
test_eof.py
test_epoll.py
test_errno.py
test_exception_hierarchy.py
test_exception_variations.py
test_exceptions.py
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_finalization.py
test_float.py
test_flufl.py
test_fnmatch.py
test_fork1.py
test_format.py Fix typos mostly in comments, docs and test names (GH-15209) 2019-08-30 13:42:54 -07:00
test_fractions.py bpo-37819: Add Fraction.as_integer_ratio() (GH-15212) (GH-15215) 2019-08-11 15:02:23 -07:00
test_frame.py
test_frozen.py
test_fstring.py [3.8] bpo-32912: Revert SyntaxWarning on invalid escape sequences (GH-15142) 2019-08-09 15:34:22 -07:00
test_ftplib.py
test_funcattrs.py
test_functools.py
test_future.py
test_future3.py
test_future4.py
test_future5.py
test_gc.py Fix typos mostly in comments, docs and test names (GH-15209) 2019-08-30 13:42:54 -07:00
test_gdb.py
test_generator_stop.py
test_generators.py
test_genericclass.py
test_genericpath.py
test_genexps.py
test_getargs2.py
test_getopt.py
test_getpass.py
test_gettext.py
test_glob.py bpo-37935: Added tests for os.walk(), glob.iglob() and Path.glob() (GH-15956) (GH-16043) 2019-09-12 16:07:47 +01:00
test_global.py
test_grammar.py [3.8] bpo-37830: Fix compilation of break and continue in finally. (GH-15320) (GH-15456) 2019-08-24 13:41:53 +03:00
test_grp.py
test_gzip.py
test_hash.py
test_hashlib.py bpo-38132: Simplify _hashopenssl code (GH-16023) (#16040) 2019-09-12 14:03:50 +01:00
test_heapq.py bpo-19119: Remove invalid test and rename a misnamed test (GH-15442) (GH-15447) 2019-08-23 22:54:07 -07:00
test_hmac.py Fix typos mostly in comments, docs and test names (GH-15209) 2019-08-30 13:42:54 -07:00
test_html.py
test_htmlparser.py
test_http_cookiejar.py bpo-12144: Handle cookies with expires attribute in CookieJar.make_cookies (GH-13921) 2019-09-13 04:47:51 -07:00
test_http_cookies.py
test_httplib.py bpo-26589: Add http status code 451 (GH-15413) (GH-15436) 2019-08-23 10:56:44 -07:00
test_httpservers.py
test_idle.py
test_imaplib.py
test_imghdr.py
test_imp.py
test_index.py
test_inspect.py [3.8] bpo-37206: Unrepresentable default values no longer represented as None. (GH-13933) (GH-16141) 2019-09-14 13:31:50 +03:00
test_int.py
test_int_literal.py
test_io.py
test_ioctl.py
test_ipaddress.py bpo-37685: Fixed comparisons of datetime.timedelta and datetime.timezone. (GH-14996) 2019-08-04 03:01:55 -07:00
test_isinstance.py
test_iter.py
test_iterlen.py
test_itertools.py bpo-34410: Fix a crash in the tee iterator when re-enter it. (GH-15625) 2019-09-09 02:07:51 -07:00
test_keyword.py
test_keywordonlyarg.py
test_kqueue.py
test_largefile.py
test_lib2to3.py
test_linecache.py
test_list.py
test_listcomps.py
test_lltrace.py
test_locale.py bpo-18378: Recognize "UTF-8" as a valid name in locale._parse_localename (GH-14736) 2019-08-28 21:56:00 -07:00
test_logging.py
test_long.py
test_longexp.py
test_lzma.py bpo-21872: fix lzma library decompresses data incompletely (GH-14048) 2019-09-12 07:41:11 -07:00
test_mailbox.py
test_mailcap.py
test_marshal.py
test_math.py
test_memoryio.py
test_memoryview.py
test_metaclass.py
test_mimetypes.py bpo-22347: Update mimetypes.guess_type to allow proper parsing of URLs (GH-15522) 2019-09-04 17:54:59 -07:00
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 [3.8] bpo-37757: Disallow PEP 572 cases that expose implementation details (GH-15491) 2019-08-26 00:41:47 +10:00
test_netrc.py
test_nis.py
test_nntplib.py
test_normalization.py
test_ntpath.py bpo-38081: Fixes ntpath.realpath('NUL') (GH-15899) 2019-09-11 03:43:30 -07:00
test_numeric_tower.py
test_opcodes.py
test_openpty.py
test_operator.py
test_optparse.py
test_ordered_dict.py
test_os.py bpo-37935: Added tests for os.walk(), glob.iglob() and Path.glob() (GH-15956) (GH-16043) 2019-09-12 16:07:47 +01:00
test_ossaudiodev.py
test_osx_env.py
test_parser.py
test_pathlib.py bpo-37935: Added tests for os.walk(), glob.iglob() and Path.glob() (GH-15956) (GH-16043) 2019-09-12 16:07:47 +01:00
test_pdb.py bpo-36250: ignore ValueError from signal in non-main thread (GH-12251) 2019-09-09 04:25:21 -07:00
test_peepholer.py
test_pickle.py
test_picklebuffer.py
test_pickletools.py
test_pipes.py
test_pkg.py
test_pkgimport.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
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 [3.8] bpo-37034: Display argument name on errors with keyword arguments with Argument Clinic. (GH-13593). (GH-15599) 2019-08-29 18:29:59 +03:00
test_queue.py
test_quopri.py
test_raise.py
test_random.py
test_range.py
test_re.py
test_readline.py
test_regrtest.py [3.8] bpo-37531: Fix regrtest timeout for subprocesses (GH-15072) (GH-15279) 2019-08-14 16:31:32 +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 [3.8] bpo-35168: Make shlex.punctuation_chars read-only (GH-11631) (GH-15927) 2019-09-11 13:39:52 +01:00
test_shutil.py bpo-37834: Normalise handling of reparse points on Windows (GH-15370) 2019-08-21 15:52:42 -07:00
test_signal.py
test_site.py
test_slice.py
test_smtpd.py
test_smtplib.py
test_smtpnet.py
test_sndhdr.py
test_socket.py closes bpo-37405: Make socket.getsockname() always return a tuple for AF_CAN. (GH-14392) (GH-16018) 2019-09-12 11:34:28 +01:00
test_socketserver.py
test_sort.py
test_source_encoding.py bpo-36919: make test_source_encoding.test_issue2301 implementation-independent (GH-13639) (GH-15952) 2019-09-11 15:37:18 +01:00
test_spwd.py
test_sqlite.py
test_ssl.py Correct typo in min version test (GH-16001) 2019-09-11 11:19:12 -07:00
test_startfile.py
test_stat.py
test_statistics.py [3.8] bpo-36018: Address more reviewer feedback (GH-15733) (GH-15734) 2019-09-08 18:40:06 -07:00
test_strftime.py
test_string.py
test_string_literals.py [3.8] bpo-32912: Revert SyntaxWarning on invalid escape sequences (GH-15142) 2019-08-09 15:34:22 -07:00
test_stringprep.py
test_strptime.py
test_strtod.py
test_struct.py
test_structmembers.py
test_structseq.py
test_subclassinit.py
test_subprocess.py bpo-37424: Avoid a hang in subprocess.run timeout output capture (GH-14490) 2019-09-11 03:05:14 -07:00
test_sunau.py
test_sundry.py
test_super.py
test_support.py
test_symbol.py
test_symtable.py
test_syntax.py
test_sys.py
test_sys_setprofile.py
test_sys_settrace.py
test_sysconfig.py
test_syslog.py
test_tabnanny.py
test_tarfile.py
test_tcl.py
test_telnetlib.py
test_tempfile.py bpo-35803: Document and test dir=PathLike for tempfile (GH-11644) 2019-09-09 10:31:31 -07:00
test_textwrap.py
test_thread.py
test_threaded_import.py
test_threadedtempfile.py
test_threading.py bpo-18049: Sync thread stack size to main thread size on macOS (GH-14748) 2019-08-01 07:38:57 -07:00
test_threading_local.py
test_threadsignals.py
test_time.py
test_timeit.py
test_timeout.py bpo-35518: Skip test that relies on a deceased network service. (GH-15349) 2019-08-20 21:08:57 -07:00
test_tix.py
test_tk.py
test_tokenize.py
test_trace.py
test_traceback.py
test_tracemalloc.py Fix typos mostly in comments, docs and test names (GH-15209) 2019-08-30 13:42:54 -07:00
test_ttk_guionly.py
test_ttk_textonly.py
test_tuple.py
test_turtle.py
test_type_comments.py
test_typechecks.py
test_types.py
test_typing.py bpo-37953: Fix deprecation warnings in test_typing (GH-16133) 2019-09-14 01:02:19 -07:00
test_ucn.py
test_unary.py
test_unicode.py bpo-36502: Correct documentation of str.isspace() (GH-15019) (GH-15296) 2019-08-19 10:53:22 +01:00
test_unicode_file.py
test_unicode_file_functions.py
test_unicode_identifiers.py
test_unicodedata.py closes bpo-37966: Fully implement the UAX GH-15 quick-check algorithm. (GH-15558) 2019-09-03 20:03:37 -07:00
test_unittest.py
test_univnewlines.py
test_unpack.py
test_unpack_ex.py
test_urllib.py
test_urllib2.py bpo-25068: urllib.request.ProxyHandler now lowercases the dict keys (GH-13489) 2019-09-13 07:25:51 -07:00
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 bpo-36582: Make collections.UserString.encode() return bytes, not str (GH-13138) (GH-15557) 2019-08-27 21:59:54 -07:00
test_utf8_mode.py
test_utf8source.py
test_uu.py
test_uuid.py
test_venv.py bpo-37885: venv: Don't produce unbound variable warning on deactivate (GH-15973) 2019-09-11 08:55:57 -07:00
test_wait3.py
test_wait4.py
test_wave.py
test_weakref.py bpo-38006: Avoid closure in weakref.WeakValueDictionary (GH-15641) 2019-09-09 09:24:16 -07:00
test_weakset.py
test_webbrowser.py
test_winconsoleio.py
test_winreg.py bpo-32587: Make winreg.REG_MULTI_SZ support zero-length strings (GH-13239) 2019-09-09 03:11:00 -07:00
test_winsound.py
test_with.py
test_wsgiref.py Fix typos mostly in comments, docs and test names (GH-15209) 2019-08-30 13:42:54 -07:00
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_xxtestfuzz.py
test_yield_from.py
test_zipapp.py
test_zipfile.py bpo-36991: Fix incorrect exception escaping ZipFile.extract() (GH-13632) 2019-09-12 07:33:53 -07:00
test_zipfile64.py
test_zipimport.py
test_zipimport_support.py
test_zlib.py
testcodec.py
testtar.tar
tf_inherit_check.py
threaded_import_hangers.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