cpython/Lib/test
Mark Dickinson 73934b9da0
bpo-36887: add math.isqrt (GH-13244)
* Add math.isqrt function computing the integer square root.

* Code cleanup: remove redundant comments, rename some variables.

* Tighten up code a bit more; use Py_XDECREF to simplify error handling.

* Update Modules/mathmodule.c

Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com>

* Update Modules/mathmodule.c

Use real argument clinic type instead of an alias

Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com>

* Add proof sketch

* Updates from review.

* Correct and expand documentation.

* Fix bad reference handling on error; make some variables block-local; other tidying.

* Style and consistency fixes.

* Add missing error check; don't try to DECREF a NULL a

* Simplify some error returns.

* Another two test cases:

- clarify that floats are rejected even if they happen to be
  squares of small integers
- TypeError beats ValueError for a negative float

* Documentation and markup improvements; thanks Serhiy for the suggestions!

* Cleaner Misc/NEWS entry wording.

* Clean up (with one fix) to the algorithm explanation and proof.
2019-05-18 12:29:50 +01:00
..
audiodata
capath bpo-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
cjkencodings
crashers
data
decimaltestdata
dtracedata
eintrdata bpo-35934: Add socket.create_server() utility function (GH-11784) 2019-04-09 00:34:02 +02:00
encoded_modules
imghdrdata
leakers
libregrtest bpo-36915: regrtest always remove tempdir of worker processes (GH-13312) 2019-05-14 15:49:16 +02:00
sndhdrdata
subprocessdata
support bpo-36766: Typos in docs and code comments (GH-13116) 2019-05-06 14:57:17 -04:00
test_asyncio bpo-35545: Fix asyncio discarding IPv6 scopes (GH-11271) 2019-05-17 01:28:39 -07:00
test_email bpo-33524: Fix the folding of email header when max_line_length is 0 or None (#13391) 2019-05-17 15:28:44 -04:00
test_import bpo-36540: PEP 570 -- Implementation (GH-12701) 2019-04-29 13:36:57 +01:00
test_importlib bpo-36766: Typos in docs and code comments (GH-13116) 2019-05-06 14:57:17 -04:00
test_json bpo-33461: emit DeprecationWarning when json.loads(encoding=...) is used (GH-6762) 2019-04-09 16:17:25 +09:00
test_tools bpo-36766: Typos in docs and code comments (GH-13116) 2019-05-06 14:57:17 -04:00
test_warnings bpo-35178: Fix warnings._formatwarnmsg() (GH-12033) 2019-03-01 18:17:55 +01:00
tracedmodules
xmltestdata Add correct license for C14N test suite to license docs. (GH-13055) 2019-05-02 22:11:04 +02:00
Sine-1000Hz-300ms.aif
__init__.py
__main__.py
_test_multiprocessing.py bpo-36867: _test_multiprocessing: avoid weak sync primitive (GH-13292) 2019-05-17 20:20:07 +02:00
allsans.pem bpo-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
ann_module.py
ann_module2.py
ann_module3.py
audiotest.au
audiotests.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 Change bisect to bisect_cmd in docstring (#13040) 2019-05-01 22:49:49 -04:00
bytecode_helper.py
cfgparser.1
cfgparser.2
cfgparser.3
clinic.test bpo-36127: Argument Clinic: inline parsing code for keyword parameters. (GH-12058) 2019-03-14 10:32:22 +02: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-36782: Created C API wrappers and added missing tests for functions in the PyDateTimeAPI. (#13088) 2019-05-17 22:28:42 +02:00
dis_module.py
doctest_aliases.py
double_const.py
empty.vbs
exception_hierarchy.txt bpo-35224: PEP 572 Implementation (#10497) 2019-01-24 16:49:56 -07: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
formatfloat_testcases.txt
future_test1.py
future_test2.py
gdb_sample.py
good_getattr.py
idnsans.pem bpo-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
ieee754.txt
imp_dummy.py
inspect_fodder.py bpo-36540: PEP 570 -- Implementation (GH-12701) 2019-04-29 13:36:57 +01:00
inspect_fodder2.py bpo-36540: PEP 570 -- Implementation (GH-12701) 2019-04-29 13:36:57 +01:00
keycert.passwd.pem bpo-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
keycert.pem bpo-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
keycert2.pem bpo-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
keycert3.pem bpo-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
keycert4.pem bpo-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
keycertecc.pem bpo-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
list_tests.py Fix a misnamed test for lists. (GH-11933) 2019-02-19 13:53:07 +02:00
lock_tests.py bpo-35513: Replace time.time() with time.monotonic() in tests (GH-11182) 2018-12-17 09:36:36 +01:00
mailcap.txt
make_ssl_certs.py bpo-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
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 bpo-35504: Fix segfaults and SystemErrors when deleting certain attrs. (GH-11175) 2018-12-17 16:52:45 +02:00
nokia.pem
nullbytecert.pem
nullcert.pem
outstanding_bugs.py
pickletester.py bpo-35900: Enable custom reduction callback registration in _pickle (GH-12499) 2019-05-08 23:08:25 +02:00
profilee.py
pstats.pck
pycacert.pem bpo-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
pycakey.pem bpo-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
pyclbr_input.py
pydoc_mod.py
pydocfodder.py
pythoninfo.py bpo-36763: Add _PyCoreConfig_SetArgv() (GH-13030) 2019-05-01 02:30:12 +02:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py Fix duplicated test case for re. (GH-12662) 2019-04-04 13:38:42 +03:00
regrtest.py
relimport.py
reperf.py
revocation.crl bpo-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
sample_doctest.py
sample_doctest_no_docstrings.py
sample_doctest_no_doctests.py
secp384r1.pem
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-36946: Fix possible signed integer overflow when handling slices. (GH-13375) 2019-05-17 10:13:03 +03:00
sgml_input.html
signalinterproctester.py bpo-35426: Eliminate race condition in test_interprocess_signal (GH-11087) 2018-12-11 11:32:12 +00:00
sortperf.py
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-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
ssl_key.pem bpo-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
ssl_servers.py
ssltests.py
string_tests.py bpo-36946: Fix possible signed integer overflow when handling slices. (GH-13375) 2019-05-17 10:13:03 +03: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
test___future__.py
test__locale.py
test__opcode.py bpo-32455: Add jump parameter to dis.stack_effect(). (GH-6610) 2018-09-18 09:54:26 +03:00
test__osx_support.py bpo-35257: Avoid leaking LTO linker flags into distutils (GH-10900) 2018-12-19 18:19:01 +01:00
test__xxsubinterpreters.py bpo-35972: _xxsubinterpreters: Fix potential integer truncation on 32-bit in channel_send() (gh-11822) 2019-02-12 09:06:43 -07:00
test_abc.py bpo-34441: Fix ABC.__subclasscheck__ crash on classes with invalid __subclasses__ (GH-8835) 2018-08-20 23:04:19 +03:00
test_abstract_numbers.py
test_aifc.py bpo-35202: Remove unused imports in tests. (GH-10561) 2018-11-16 17:32:58 +02:00
test_argparse.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) 2019-03-05 10:06:26 +02:00
test_array.py bpo-36946: Fix possible signed integer overflow when handling slices. (GH-13375) 2019-05-17 10:13:03 +03:00
test_asdl_parser.py bpo-35766: Merge typed_ast back into CPython (GH-11645) 2019-01-31 12:40:27 +01:00
test_ast.py bpo-36540: PEP 570 -- Implementation (GH-12701) 2019-04-29 13:36:57 +01:00
test_asyncgen.py bpo-34728: Fix asyncio tests to run under "-Werror" (GH-9661) 2018-10-02 13:53:06 -04:00
test_asynchat.py
test_asyncore.py bpo-35513: Replace time.time() with time.monotonic() in tests (GH-11182) 2018-12-17 09:36:36 +01:00
test_atexit.py
test_audioop.py
test_augassign.py
test_base64.py
test_baseexception.py
test_bdb.py Fix stepping into a frame without a __name__ (GH-12064) 2019-03-12 20:57:09 -07:00
test_bigaddrspace.py
test_bigmem.py bpo-5438: Update memory requirements and optimize test_bigmem.py. (GH-11123) 2018-12-20 09:34:51 +02:00
test_binascii.py bpo-34736: improve error message for invalid length b64decode inputs (GH-9563) 2018-09-27 22:57:22 -07:00
test_binhex.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) 2019-03-05 10:06:26 +02:00
test_binop.py
test_bisect.py
test_bool.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) 2019-03-05 10:06:26 +02:00
test_buffer.py bpo-35845: Add order={'C', 'F', 'A'} parameter to memoryview.tobytes(). (#11730) 2019-02-02 18:57:41 +01:00
test_bufio.py
test_builtin.py bpo-35742: Fix test_envar_unimportable in test_builtin. (GH-11561) 2019-01-15 13:26:38 +02:00
test_bytes.py bpo-36946: Fix possible signed integer overflow when handling slices. (GH-13375) 2019-05-17 10:13:03 +03:00
test_bz2.py
test_c_locale_coercion.py bpo-35336: Fix PYTHONCOERCECLOCALE=1 (GH-10806) 2018-11-30 11:34:47 +01:00
test_calendar.py
test_call.py bpo-36282: Improved error message for too much positional arguments. (GH-12310) 2019-03-13 23:03:22 +02:00
test_capi.py bpo-35983: skip trashcan for subclasses (GH-11841) 2019-05-10 19:21:10 +02:00
test_cgi.py bpo-35028: cgi: Fix max_num_fields off by one error (GH-9973) 2018-10-23 01:14:35 -07:00
test_cgitb.py
test_charmapcodec.py
test_class.py bpo-31506: Clarify error messages for object.__new__ and object.__init__ (GH-11641) 2019-02-19 23:23:48 +10:00
test_clinic.py bpo-35578: Add an example file for testing Argument Clinic converters. (GH-11306) 2018-12-25 10:17:28 +02:00
test_cmath.py closes bpo-34640: Remove the TANH_PRESERVES_ZERO_SIGN configure check. (GH-9206) 2018-09-12 06:51:18 -07:00
test_cmd.py
test_cmd_line.py bpo-31904: Port test_cmd_line to VxWorks (#12648) 2019-04-17 17:33:25 +02:00
test_cmd_line_script.py bpo-20844: open script file with "rb" mode (GH-12616) 2019-04-01 18:35:20 +09:00
test_code.py bpo-36851: Clean the frame stack if the execution ends with a return and the stack is not empty (GH-13191) 2019-05-09 16:52:02 +01:00
test_code_module.py
test_codeccallbacks.py bpo-36297: remove "unicode_internal" codec (GH-12342) 2019-03-18 15:44:11 +09:00
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-36778: cp65001 encoding becomes an alias to utf_8 (GH-13230) 2019-05-10 03:19:54 +02:00
test_codeop.py
test_collections.py bpo-36321: Fix misspelled attribute in namedtuple() (GH-12375) 2019-03-18 00:27:39 -07:00
test_colorsys.py
test_compare.py
test_compile.py bpo-34100: compile: Re-enable frozenset merging (GH-10760) 2018-11-28 16:58:46 +01:00
test_compileall.py bpo-36786: Run compileall in parallel during "make install" (GH-13078) 2019-05-15 23:45:18 +02:00
test_complex.py
test_concurrent_futures.py bpo-26903: Limit ProcessPoolExecutor to 61 workers on Windows (GH-13132) 2019-05-08 14:04:53 -04:00
test_configparser.py
test_contains.py
test_context.py
test_contextlib.py bpo-36492: Deprecate passing some arguments as keyword arguments. (GH-12637) 2019-04-01 09:16:35 +03:00
test_contextlib_async.py bpo-36492: Deprecate passing some arguments as keyword arguments. (GH-12637) 2019-04-01 09:16:35 +03:00
test_copy.py
test_copyreg.py
test_coroutines.py bpo-35202: Remove unused imports in tests. (GH-10561) 2018-11-16 17:32:58 +02:00
test_cprofile.py bpo-32512: Add -m option to profile for profiling modules (#5132) 2018-11-05 22:03:46 +10:00
test_crashers.py
test_crypt.py
test_csv.py bpo-27497: Add return value to csv.DictWriter.writeheader (GH-12306) 2019-05-10 03:50:11 +02:00
test_ctypes.py
test_curses.py bpo-31680: Add curses.ncurses_version. (GH-4217) 2018-10-30 13:22:42 +02:00
test_dataclasses.py bpo-36766: Typos in docs and code comments (GH-13116) 2019-05-06 14:57:17 -04:00
test_datetime.py
test_dbm.py
test_dbm_dumb.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 1). (GH-10928) 2019-03-05 10:05:57 +02:00
test_dbm_gnu.py bpo-33106: change dbm key deletion error for readonly file from KeyError to dbm.error (#6295) 2018-12-12 20:46:55 +08:00
test_dbm_ndbm.py bpo-33106: change dbm key deletion error for readonly file from KeyError to dbm.error (#6295) 2018-12-12 20:46:55 +08:00
test_decimal.py bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284) 2018-11-05 16:20:25 +02:00
test_decorators.py
test_defaultdict.py
test_deque.py Minor performance tweak for deque.index() with a start argument (GH-9440) 2018-09-21 01:46:41 -07:00
test_descr.py bpo-36026: make descr error message consistent (GH-11930) 2019-04-01 17:56:11 +09:00
test_descrtut.py
test_devpoll.py
test_dict.py bpo-36473: add maximum iteration check for dict .values() and .items() (GH-12619) 2019-04-02 18:30:10 +09:00
test_dict_version.py
test_dictcomps.py bpo-35169: Improve error messages for forbidden assignments. (GH-10342) 2018-11-20 19:27:16 +02:00
test_dictviews.py
test_difflib.py Revert "bpo-35603: Escape table header of make_table output that can cause potential XSS. (GH-11341)" (GH-11356) 2019-01-02 14:49:25 +02:00
test_difflib_expect.html
test_dis.py bpo-36540: PEP 570 -- Implementation (GH-12701) 2019-04-29 13:36:57 +01:00
test_distutils.py
test_doctest.py bpo-24746: Fix doctest failures when running the testsuite with -R (#11501) 2019-01-10 06:29:40 -08:00
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 bpo-35513: Replace time.time() with time.monotonic() in tests (GH-11182) 2018-12-17 09:36:36 +01:00
test_dummy_threading.py
test_dynamic.py
test_dynamicclassattribute.py
test_eintr.py bpo-35363: test_eintr uses print(flush=True) (GH-10990) 2018-12-06 14:16:21 +01:00
test_embed.py bpo-36763: Remove _PyCoreConfig.dll_path (GH-13402) 2019-05-18 04:17:01 +02:00
test_ensurepip.py
test_enum.py bpo-36401: Have help() show readonly properties separately (GH-12517) 2019-03-24 17:07:47 -07:00
test_enumerate.py bpo-33462: Add __reversed__ to dict and dict views (GH-6827) 2018-11-06 09:38:54 +09:00
test_eof.py
test_epoll.py bpo-35934: Add socket.create_server() utility function (GH-11784) 2019-04-09 00:34:02 +02:00
test_errno.py
test_exception_hierarchy.py bpo-35504: Fix a SystemError when delete the characters_written attribute of an OSError. (GH-11172) 2018-12-17 16:43:14 +02:00
test_exception_variations.py
test_exceptions.py bpo-31241: Fix AST node position for list and generator comprehensions. (GH-10633) 2018-11-27 09:40:29 +02:00
test_extcall.py Fix syntax warnings in tests introduced in bpo-15248. (GH-11932) 2019-02-19 13:49:09 +02:00
test_faulthandler.py bpo-35568: add 'raise_signal' function (GH-11335) 2019-01-08 01:58:25 -08:00
test_fcntl.py bpo-36503: remove references to 'aix3' and 'aix4' (GH-12658) 2019-04-08 09:51:33 +09:00
test_file.py bpo-32236: open() emits RuntimeWarning if buffering=1 for binary mode (GH-4842) 2018-10-20 02:22:31 +02:00
test_file_eintr.py
test_filecmp.py
test_fileinput.py bpo-1613500: Don't hardcode output file mode in fileinput.FileInput (GH-12986) 2019-04-29 17:55:39 +03:00
test_fileio.py
test_finalization.py
test_float.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) 2019-03-05 10:06:26 +02:00
test_flufl.py
test_fnmatch.py
test_fork1.py
test_format.py
test_fractions.py bpo-35588: Speed up mod, divmod and floordiv operations for Fraction type (#11322) 2019-01-02 14:22:06 +02:00
test_frame.py bpo-35504: Fix segfaults and SystemErrors when deleting certain attrs. (GH-11175) 2018-12-17 16:52:45 +02:00
test_frozen.py bpo-35202: Remove unused imports in tests. (GH-10561) 2018-11-16 17:32:58 +02:00
test_fstring.py bpo-36817: Do not decrement reference for expr_text on fstring = parsing failure (GH-13256) 2019-05-12 01:43:04 +01:00
test_ftplib.py bpo-35934: Add socket.create_server() utility function (GH-11784) 2019-04-09 00:34:02 +02:00
test_funcattrs.py bpo-35911: add cell constructor (GH-11771) 2019-02-07 19:36:48 +00:00
test_functools.py bpo-36540: PEP 570 -- Implementation (GH-12701) 2019-04-29 13:36:57 +01:00
test_future.py bpo-36817: Add f-string debugging using '='. (GH-13123) 2019-05-08 16:28:48 -04: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 bpo-36155: Check for identity on test_gc.test_get_objects (GH-12116) 2019-03-01 01:12:27 -08:00
test_gdb.py bpo-35202: Remove unused imports in tests. (GH-10561) 2018-11-16 17:32:58 +02:00
test_generator_stop.py
test_generators.py bpo-35169: Improve error messages for forbidden assignments. (GH-10342) 2018-11-20 19:27:16 +02:00
test_genericclass.py bpo-36679: Rename duplicate test_class_getitem function (GH-12892) 2019-04-22 11:51:06 -07:00
test_genericpath.py bpo-35471: Remove the macpath module (GH-11129) 2018-12-14 13:37:26 +01:00
test_genexps.py bpo-35169: Improve error messages for forbidden assignments. (GH-10342) 2018-11-20 19:27:16 +02:00
test_getargs2.py bpo-36048: Use __index__() instead of __int__() for implicit conversion if available. (GH-11952) 2019-02-25 17:57:58 +02:00
test_getopt.py
test_getpass.py
test_gettext.py bpo-36239: Skip comments in gettext infos (GH-12255) 2019-05-09 16:22:15 +02:00
test_glob.py
test_global.py bpo-34683: Make SyntaxError column offsets consistently 1-indexed (gh-9338) 2018-09-24 14:12:49 -07:00
test_grammar.py bpo-35798: Add test.support.check_syntax_warning(). (#11895) 2019-02-19 08:30:15 +02:00
test_grp.py
test_gzip.py bpo-6584: Add a BadGzipFile exception to the gzip module. (GH-13022) 2019-05-13 10:50:52 +03:00
test_hash.py
test_hashlib.py bpo-34922: Fix integer overflow in the digest() and hexdigest() methods (GH-9751) 2018-10-11 07:41:00 +03:00
test_heapq.py
test_hmac.py bpo-33604: Remove deprecated HMAC default value marked for removal in 3.8 (GH-7063) 2018-09-10 11:10:01 -07:00
test_html.py
test_htmlparser.py
test_http_cookiejar.py bpo-35647: Fix path check in cookiejar (#11436) 2019-03-10 10:12:28 -07:00
test_http_cookies.py
test_httplib.py bpo-35925: Skip SSL tests that fail due to weak external certs. (GH-13124) 2019-05-06 17:54:06 -04:00
test_httpservers.py bpo-24209: In http.server script, rely on getaddrinfo to bind to preferred address based on the bind parameter. (#11767) 2019-02-07 08:22:45 -05:00
test_idle.py
test_imaplib.py bpo-36348: IMAP4.logout() doesn't ignore exc (GH-12411) 2019-04-15 18:23:20 +02:00
test_imghdr.py
test_imp.py bpo-35321: Set the spec origin to frozen in frozen modules (#11732) 2019-02-04 16:56:26 -08:00
test_index.py
test_inspect.py bpo-36751: Undeprecate getfullargspec (GH-13245) 2019-05-16 21:08:15 +01:00
test_int.py bpo-36048: Use __index__() instead of __int__() for implicit conversion if available. (GH-11952) 2019-02-25 17:57:58 +02:00
test_int_literal.py
test_io.py bpo-18748: test_io: silence destructor errors (GH-12805) 2019-04-12 21:58:24 +02:00
test_ioctl.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) 2019-03-05 10:06:26 +02:00
test_ipaddress.py bpo-36845: validate integer network prefix when constructing IP networks (GH-13298) 2019-05-14 19:32:59 +09:00
test_isinstance.py
test_iter.py
test_iterlen.py
test_itertools.py bpo-34659: Adds initial kwarg to itertools.accumulate() (GH-9345) 2018-09-23 17:34:59 -07: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
test_kqueue.py bpo-35934: Add socket.create_server() utility function (GH-11784) 2019-04-09 00:34:02 +02:00
test_largefile.py bpo-24658: Fix read/write greater than 2 GiB on macOS (GH-1705) 2018-10-18 01:05:04 +02:00
test_lib2to3.py
test_linecache.py
test_list.py bpo-33234 Improve list() pre-sizing for inputs with known lengths (GH-9846) 2018-10-28 20:16:26 +00:00
test_listcomps.py
test_lltrace.py
test_locale.py
test_logging.py bpo-36903: Fix ResourceWarning in test_logging (GH-13283) 2019-05-13 16:48:51 +02:00
test_long.py bpo-33073: Rework int.as_integer_ratio() implementation (GH-9303) 2018-10-19 23:46:31 +02:00
test_longexp.py
test_lzma.py
test_mailbox.py Clean up code which checked presence of os.{stat,lstat,chmod} (#11643) 2019-02-25 23:32:27 +01:00
test_mailcap.py
test_marshal.py
test_math.py bpo-36887: add math.isqrt (GH-13244) 2019-05-18 12:29:50 +01:00
test_memoryio.py
test_memoryview.py
test_metaclass.py
test_mimetypes.py bpo-35920: Windows 10 ARM32 platform support (GH-11774) 2019-04-25 18:36:45 +00:00
test_minidom.py bpo-36407: Fix writing indentations of CDATA section (xml.dom.minidom). (GH-12514) 2019-03-27 07:58:49 +02:00
test_mmap.py bpo-36946: Fix possible signed integer overflow when handling slices. (GH-13375) 2019-05-17 10:13:03 +03:00
test_module.py
test_modulefinder.py bpo-35936: Updates to modulefinder (GH-11787) 2019-04-07 18:00:41 +10:00
test_msilib.py bpo-1104: msilib.SummaryInfo.GetProperty() truncates the string by one character (GH-4517) 2019-02-02 09:13:23 -08:00
test_multibytecodec.py bpo-33578: Fix getstate/setstate for CJK decoder (GH-10290) 2018-11-02 12:29:40 +09: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 bpo-35424: Fix test_multiprocessing_main_handling (GH-11223) 2018-12-18 23:54:33 +01:00
test_multiprocessing_spawn.py
test_named_expressions.py bpo-35877: Add test for while loop named expression without parentheses (GH-11726) 2019-02-01 15:27:38 -07:00
test_netrc.py bpo-36264: Don't honor POSIX HOME in os.path.expanduser on Windows (GH-12282) 2019-03-12 08:39:57 -07:00
test_nis.py
test_nntplib.py bpo-35925: Skip SSL tests that fail due to weak external certs. (GH-13124) 2019-05-06 17:54:06 -04:00
test_normalization.py closes bpo-32285: Add unicodedata.is_normalized. (GH-4806) 2018-11-04 15:58:24 -08:00
test_ntpath.py bpo-36264: Don't honor POSIX HOME in os.path.expanduser on Windows (GH-12282) 2019-03-12 08:39:57 -07:00
test_numeric_tower.py
test_opcodes.py bpo-16806: Fix `lineno` and `col_offset` for multi-line string tokens (GH-10021) 2019-01-13 13:05:13 +09:00
test_openpty.py
test_operator.py bpo-35664: Optimize operator.itemgetter (GH-11435) 2019-01-07 09:38:41 -07:00
test_optparse.py
test_ordered_dict.py bpo-35983: skip trashcan for subclasses (GH-11841) 2019-05-10 19:21:10 +02:00
test_os.py bpo-35920: Windows 10 ARM32 platform support (GH-11774) 2019-04-25 18:36:45 +00:00
test_ossaudiodev.py bpo-35513: Replace time.time() with time.monotonic() in tests (GH-11182) 2018-12-17 09:36:36 +01:00
test_osx_env.py
test_parser.py bpo-36540: PEP 570 -- Implementation (GH-12701) 2019-04-29 13:36:57 +01:00
test_pathlib.py bpo-33123: pathlib: Add missing_ok parameter to Path.unlink (GH-6191) 2019-05-15 15:02:11 -07:00
test_pdb.py bpo-13120: fix typo with test_issue13120() method name (GH-12250) 2019-04-01 14:59:50 -07:00
test_peepholer.py
test_pickle.py bpo-35900: Enable custom reduction callback registration in _pickle (GH-12499) 2019-05-08 23:08:25 +02:00
test_pickletools.py
test_pipes.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) 2019-03-05 10:06:26 +02:00
test_pkg.py bpo-34200: Fix non-determinism of test_pkg (GH-9248) 2018-09-12 17:58:40 -07:00
test_pkgimport.py
test_pkgutil.py
test_platform.py bpo-35346, platform: replace os.popen() with subprocess (GH-10786) 2018-12-07 11:10:33 +01:00
test_plistlib.py bpo-26707: Enable plistlib to read UID keys. (GH-12153) 2019-05-15 23:14:38 +03:00
test_poll.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) 2019-03-05 10:06:26 +02:00
test_popen.py
test_poplib.py
test_positional_only_arg.py bpo-36540: PEP 570 -- Implementation (GH-12701) 2019-04-29 13:36:57 +01:00
test_posix.py bpo-36814: ensure os.posix_spawn() handles None (GH-13144) 2019-05-10 04:00:06 +02:00
test_posixpath.py bpo-10496: posixpath.expanduser() catchs pwd.getpwuid() error (GH-10919) 2018-12-05 16:49:35 +01:00
test_pow.py
test_pprint.py bpo-30670: Add pp function to the pprint module (GH-11769) 2019-03-22 10:22:20 -07:00
test_print.py
test_profile.py bpo-32512: Add -m option to profile for profiling modules (#5132) 2018-11-05 22:03:46 +10:00
test_property.py
test_pstats.py
test_pty.py
test_pulldom.py bpo-17239: Disable external entities in SAX parser (GH-9217) 2018-09-23 00:50:25 -07:00
test_pwd.py
test_py_compile.py bpo-34022: Stop forcing of hash-based invalidation with SOURCE_DATE_EPOCH (GH-9607) 2018-10-10 18:43:14 +02:00
test_pyclbr.py bpo-36298: Raise ModuleNotFoundError in pyclbr when a module can't be found (GH-12358) 2019-03-22 15:16:50 -07:00
test_pydoc.py bpo-36729: Delete unused text variable on tests. (GH-12959) 2019-04-29 05:24:24 +03:00
test_pyexpat.py
test_queue.py bpo-35202: Remove unused imports in Lib directory. (GH-10446) 2018-11-10 09:22:02 +02:00
test_quopri.py
test_raise.py
test_random.py bpo-36766: Typos in docs and code comments (GH-13116) 2019-05-06 14:57:17 -04:00
test_range.py bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284) 2018-11-05 16:20:25 +02:00
test_re.py bpo-29571: Fix test_re.test_locale_flag() (GH-12099) 2019-03-01 00:08:03 +01:00
test_readline.py
test_regrtest.py bpo-36719: Fix regrtest re-run (GH-12964) 2019-04-26 09:56:37 +02:00
test_repl.py
test_reprlib.py
test_resource.py bpo-31904: Port test_resource to VxWorks (GH-12719) 2019-04-17 17:41:33 +02:00
test_richcmp.py
test_rlcompleter.py
test_robotparser.py
test_runpy.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) 2019-03-05 10:06:26 +02:00
test_sax.py bpo-31658: Make xml.sax.parse accepting Path objects (GH-8564) 2019-04-14 11:16:54 +02:00
test_sched.py
test_scope.py
test_script_helper.py
test_secrets.py
test_select.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) 2019-03-05 10:06:26 +02:00
test_selectors.py
test_set.py
test_setcomps.py
test_shelve.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) 2019-03-05 10:06:26 +02:00
test_shlex.py
test_shutil.py bpo-24538: Fix bug in shutil involving the copying of xattrs to read-only files. (PR-13212) 2019-05-10 11:22:06 +08:00
test_signal.py bpo-36013: delete fragile interactive shell SIGINT test (GH-11902) 2019-02-16 17:22:39 -08:00
test_site.py simplify StartupImportTests (GH-13096) 2019-05-05 18:06:30 +09:00
test_slice.py
test_smtpd.py
test_smtplib.py bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284) 2018-11-05 16:20:25 +02:00
test_smtpnet.py
test_sndhdr.py
test_socket.py bpo-36341: Fix tests calling bind() on AF_UNIX sockets (GH-12399) 2019-05-03 08:09:17 -07:00
test_socketserver.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) 2019-03-05 10:06:26 +02:00
test_sort.py bpo-36218: Fix handling of heterogeneous values in list.sort (GH-12209) 2019-03-25 00:25:37 -07:00
test_source_encoding.py
test_spwd.py closes bpo-34594: Don't hardcode errno values in the tests. (GH-9076) 2018-09-06 11:43:30 -07:00
test_sqlite.py
test_ssl.py bpo-35926: Add support for OpenSSL 1.1.1b on Windows (GH-11779) 2019-05-15 15:38:55 -07:00
test_startfile.py bpo-35920: Windows 10 ARM32 platform support (GH-11774) 2019-04-25 18:36:45 +00:00
test_stat.py bpo-36341: Fix tests calling bind() on AF_UNIX sockets (GH-12399) 2019-05-03 08:09:17 -07:00
test_statistics.py Fix typo: quaatile to quantile (GH=13001) 2019-05-02 14:20:58 -04:00
test_strftime.py
test_string.py
test_string_literals.py bpo-35798: Add test.support.check_syntax_warning(). (#11895) 2019-02-19 08:30:15 +02:00
test_stringprep.py
test_strptime.py closes bpo-35171: Fix test_TimeRE_recreation_timezone failure on some systems. (GH-10347) 2018-11-05 20:29:07 -08:00
test_strtod.py
test_struct.py
test_structmembers.py
test_structseq.py
test_subclassinit.py
test_subprocess.py bpo-32236: open() emits RuntimeWarning if buffering=1 for binary mode (GH-4842) 2018-10-20 02:22:31 +02:00
test_sunau.py
test_sundry.py bpo-35920: Windows 10 ARM32 platform support (GH-11774) 2019-04-25 18:36:45 +00:00
test_super.py
test_support.py bpo-35934: Add socket.create_server() utility function (GH-11784) 2019-04-09 00:34:02 +02:00
test_symbol.py bpo-35683: Improve Azure Pipelines steps (GH-11493) 2019-01-22 10:49:52 -08:00
test_symtable.py bpo-34983: Expose symtable.Symbol.is_nonlocal() in the symtable module (GH-9872) 2018-10-20 01:46:00 +01:00
test_syntax.py bpo-1875: Raise SyntaxError in invalid blocks that will be optimised away (GH-13332) 2019-05-17 11:37:08 +01:00
test_sys.py bpo-36611: Fix test_sys.test_getallocatedblocks() (GH-12797) 2019-04-12 15:15:04 +02:00
test_sys_setprofile.py bpo-36682: Rename duplicate tests in test_sys_setprofile (GH-12895) 2019-04-22 11:48:12 -07:00
test_sys_settrace.py
test_sysconfig.py bpo-34011: Fixes missing venv files and other tests (GH-9458) 2018-09-20 13:38:34 -07:00
test_syslog.py
test_tabnanny.py bpo-31904: Fix test_tabnanny on VxWorks (GH-12646) 2019-04-17 11:46:50 +02:00
test_tarfile.py bpo-36268: Change default tar format to pax from GNU. (GH-12355) 2019-03-21 16:44:51 +02:00
test_tcl.py
test_telnetlib.py
test_tempfile.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) 2019-03-05 10:06:26 +02:00
test_textwrap.py
test_thread.py bpo-35202: Remove unused imports in Lib directory. (GH-10446) 2018-11-10 09:22:02 +02:00
test_threaded_import.py
test_threadedtempfile.py
test_threading.py bpo-36084: Add native thread ID to threading.Thread objects (GH-11993) 2019-05-12 19:08:24 +02:00
test_threading_local.py test_threading_local: add missing "import sys" (GH-8049) 2019-01-06 23:10:55 +01:00
test_threadsignals.py bpo-35513: Replace time.time() with time.monotonic() in tests (GH-11182) 2018-12-17 09:36:36 +01:00
test_time.py bpo-36895: remove time.clock() as per removal notice. (GH-13270) 2019-05-12 18:34:44 -07:00
test_timeit.py
test_timeout.py bpo-35513: Replace time.time() with time.monotonic() in tests (GH-11182) 2018-12-17 09:36:36 +01:00
test_tix.py
test_tk.py
test_tokenize.py bpo-35224: PEP 572 Implementation (#10497) 2019-01-24 16:49:56 -07:00
test_trace.py bpo-36492: Deprecate passing some arguments as keyword arguments. (GH-12637) 2019-04-01 09:16:35 +03:00
test_traceback.py bpo-35202: Remove unused imports in tests. (GH-10561) 2018-11-16 17:32:58 +02:00
test_tracemalloc.py bpo-35053: Enhance tracemalloc to trace free lists (GH-10063) 2018-10-25 13:31:16 +02:00
test_ttk_guionly.py
test_ttk_textonly.py
test_tuple.py Fix syntax warnings in tests introduced in bpo-15248. (GH-11932) 2019-02-19 13:49:09 +02:00
test_turtle.py
test_type_comments.py bpo-36878: Allow extra text after `# type: ignore` comments (GH-13238) 2019-05-11 19:17:24 +01:00
test_typechecks.py
test_types.py
test_typing.py bpo-36921: Deprecate @coroutine for sake of async def (GH-13346) 2019-05-16 07:52:10 -07:00
test_ucn.py
test_unary.py
test_unicode.py bpo-36549: str.capitalize now titlecases the first character instead of uppercasing it (GH-12804) 2019-04-12 08:35:39 -07:00
test_unicode_file.py
test_unicode_file_functions.py
test_unicode_identifiers.py
test_unicodedata.py closes bpo-36861: Update Unicode database to 12.1.0. (GH-13214) 2019-05-08 20:59:35 -07:00
test_unittest.py
test_univnewlines.py
test_unpack.py
test_unpack_ex.py
test_urllib.py bpo-30458: Use InvalidURL instead of ValueError. (GH-13044) 2019-05-01 16:39:21 -04:00
test_urllib2.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) 2019-03-05 10:06:26 +02:00
test_urllib2_localnet.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) 2019-03-05 10:06:26 +02:00
test_urllib2net.py bpo-36019: Use pythontest.net instead of example.com in network tests (GH-11941) 2019-02-22 14:45:36 +01:00
test_urllib_response.py
test_urllibnet.py bpo-36019: Use pythontest.net instead of example.com in network tests (GH-11941) 2019-02-22 14:45:36 +01:00
test_urlparse.py bpo-36742: Fixes handling of pre-normalization characters in urlsplit() (GH-13017) 2019-04-30 12:03:02 +00:00
test_userdict.py
test_userlist.py bpo-27639: Correct return type for UserList slicing operation (#13169) 2019-05-07 17:41:06 -04:00
test_userstring.py
test_utf8_mode.py bpo-36683: Rename duplicate test_io_encoding to test_pyio_encoding (GH-12896) 2019-04-22 11:46:27 -07:00
test_utf8source.py
test_uu.py bpo-33687: Fix call to os.chmod() in uu.decode() (GH-7282) 2019-01-17 17:15:53 +03:00
test_uuid.py bpo-35701: Added __weakref__ slot to uuid.UUID (GH-11570) 2019-01-17 13:16:51 +01:00
test_venv.py bpo-35978: Correctly skips venv tests in venvs (GH-12220) 2019-03-21 10:04:21 -07:00
test_wait3.py
test_wait4.py
test_wave.py
test_weakref.py bpo-36669: add matmul support to weakref.proxy (GH-12932) 2019-04-26 15:56:15 +09:00
test_weakset.py
test_webbrowser.py bpo-35308: Fix regression where BROWSER env var is not respected. (GH-10693) 2018-11-26 23:29:45 +02:00
test_winconsoleio.py
test_winreg.py bpo-35920: Windows 10 ARM32 platform support (GH-11774) 2019-04-25 18:36:45 +00:00
test_winsound.py
test_with.py
test_wsgiref.py bpo-27682: Handle client connection terminations in wsgiref (GH-9713) 2019-05-01 20:32:15 +03:00
test_xdrlib.py
test_xml_dom_minicompat.py
test_xml_etree.py bpo-36831: Do not apply default namespace to unprefixed attributes in ElementPath. (#13201) 2019-05-09 07:22:47 +02:00
test_xml_etree_c.py bpo-35502: Fix reference leaks in ElementTree.TreeBuilder. (GH-11170) 2018-12-18 22:29:14 +02:00
test_xmlrpc.py bpo-30458: Disallow control chars in http URLs. (GH-12755) 2019-04-30 19:12:21 -07:00
test_xmlrpc_net.py
test_xxtestfuzz.py
test_yield_from.py
test_zipapp.py
test_zipfile.py Add support for .parent and .joinpath in zipfile.Path (#13213) 2019-05-09 11:34:35 -04:00
test_zipfile64.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 1). (GH-10928) 2019-03-05 10:05:57 +02:00
test_zipimport.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) 2019-03-05 10:06:26 +02:00
test_zipimport_support.py bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929) 2019-03-05 10:06:26 +02:00
test_zlib.py bpo-36048: Use __index__() instead of __int__() for implicit conversion if available. (GH-11952) 2019-02-25 17:57:58 +02:00
testcodec.py
testtar.tar
tf_inherit_check.py
threaded_import_hangers.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
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