cpython/Lib/test
Ivan Levkivskyi 9932a22897
bpo-33416: Add end positions to Python AST (GH-11605)
The majority of this PR is tediously passing `end_lineno` and `end_col_offset` everywhere. Here are non-trivial points:
* It is not possible to reconstruct end positions in AST "on the fly", some information is lost after an AST node is constructed, so we need two more attributes for every AST node `end_lineno` and `end_col_offset`.
* I add end position information to both CST and AST.  Although it may be technically possible to avoid adding end positions to CST, the code becomes more cumbersome and less efficient.
* Since the end position is not known for non-leaf CST nodes while the next token is added, this requires a bit of extra care (see `_PyNode_FinalizeEndPos`). Unless I made some mistake, the algorithm should be linear.
* For statements, I "trim" the end position of suites to not include the terminal newlines and dedent (this seems to be what people would expect), for example in
  ```python
  class C:
      pass

  pass
  ```
  the end line and end column for the class definition is (2, 8).
* For `end_col_offset` I use the common Python convention for indexing, for example for `pass` the `end_col_offset` is 4 (not 3), so that `[0:4]` gives one the source code that corresponds to the node.
* I added a helper function `ast.get_source_segment()`, to get source text segment corresponding to a given AST node. It is also useful for testing.

An (inevitable) downside of this PR is that AST now takes almost 25% more memory. I think however it is probably justified by the benefits.
2019-01-22 11:18:22 +00:00
..
audiodata
capath bpo-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
cjkencodings
crashers
data
decimaltestdata Spelling fixes (#2902) 2017-08-03 09:00:59 +03:00
dtracedata bpo-31462: Remove trailing whitespaces. (#3564) 2017-09-14 09:38:36 +03:00
eintrdata bpo-35363, test_eintr: skip test_open() on macOS (GH-10896) 2018-12-04 17:13:33 +01:00
encoded_modules
imghdrdata
leakers
libregrtest Fix typo in test module usage message (GH-11374) 2018-12-30 21:41:39 -08:00
sndhdrdata Minor test cleanup (GH-837) 2017-03-27 00:08:31 -05:00
subprocessdata
support bpo-35283: Add deprecation warning for Thread.isAlive (GH-11454) 2019-01-17 13:14:45 +01:00
test_asyncio bpo-35568: add 'raise_signal' function (GH-11335) 2019-01-08 01:58:25 -08:00
test_email bpo-35317: Fix mktime() error in test_email (GH-10721) 2018-11-27 12:40:50 +01:00
test_import bpo-33237: Improve AttributeError message for partially initialized module. (GH-6398) 2018-10-30 13:19:51 +02:00
test_importlib bpo-35202: Remove unused imports in tests. (GH-10561) 2018-11-16 17:32:58 +02:00
test_json bpo-31553: add --json-lines option to json.tool (#10051) 2018-11-07 12:09:32 +02:00
test_tools bpo-25094: Fix test_tools.test_sundry() on Windows (GH-8406) 2018-07-23 13:17:59 +02:00
test_warnings bpo-29564: warnings suggests to enable tracemalloc (GH-10486) 2018-11-13 02:41:00 +01:00
tracedmodules
xmltestdata bpo-31170: Write unit test for Expat 2.2.4 UTF-8 bug (#3570) 2017-09-25 01:27:34 -07:00
__init__.py
__main__.py Cleanup regrtest "main()" function 2016-03-24 17:53:20 +01:00
_test_multiprocessing.py bpo-35424: emit ResourceWarning at multiprocessing.Pool destruction (GH-10974) 2018-12-20 20:33:51 +01:00
allsans.pem bpo-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
ann_module.py Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. 2016-09-08 20:50:03 -07:00
ann_module2.py Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. 2016-09-08 20:50:03 -07:00
ann_module3.py Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. 2016-09-08 20:50:03 -07:00
audiotest.au
audiotests.py bpo-31985: Deprecate openfp in aifc, sunau, and wave (#4344) 2017-11-10 11:38:25 -05:00
autotest.py Cleanup regrtest "main()" function 2016-03-24 17:53:20 +01:00
bad_coding.py
bad_coding2.py
bad_getattr.py bpo-32225: Implementation of PEP 562 (#4731) 2017-12-14 11:59:44 +01:00
bad_getattr2.py bpo-32225: Implementation of PEP 562 (#4731) 2017-12-14 11:59:44 +01:00
bad_getattr3.py bpo-32225: Implementation of PEP 562 (#4731) 2017-12-14 11:59:44 +01:00
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 bpo-35519: Rename test.bisect to test.bisect_cmd (GH-11200) 2018-12-17 22:06:10 +01:00
bytecode_helper.py Fix BytecodeTestCase.assertNotInBytecode() 2016-01-19 08:48:48 +01:00
cfgparser.1 bpo-30899: Add unittests, 100% coverage, for IDLE's two ConfigParser subclasses. (#2662) 2017-07-12 14:05:32 -04:00
cfgparser.2 Issue 19504: Change "customise" to "customize" American spelling. 2016-08-25 21:11:50 -07:00
cfgparser.3
clinic.test bpo-35582: Argument Clinic: Optimize the "all boring objects" case. (GH-11520) 2019-01-11 18:01:42 +02:00
cmath_testcases.txt Issue #26040: Improve test_math and test_cmath coverage and rigour. Thanks Jeff Allen. 2016-09-03 19:30:22 +01:00
coding20731.py Revert an invalid change to a test (from 6b4be19). (#1770) 2017-05-23 16:40:03 -07:00
curses_tests.py
dataclass_module_1.py bpo-33453: Handle string type annotations in dataclasses. (GH-6768) 2018-05-15 22:44:27 -04:00
dataclass_module_1_str.py bpo-33453: Handle string type annotations in dataclasses. (GH-6768) 2018-05-15 22:44:27 -04:00
dataclass_module_2.py bpo-33453: Handle string type annotations in dataclasses. (GH-6768) 2018-05-15 22:44:27 -04:00
dataclass_module_2_str.py bpo-33453: Handle string type annotations in dataclasses. (GH-6768) 2018-05-15 22:44:27 -04:00
datetimetester.py bpo-35066: _dateime.datetime.strftime copies trailing '%' (GH-10692) 2019-01-14 11:23:39 +01:00
dis_module.py
doctest_aliases.py
double_const.py
empty.vbs
exception_hierarchy.txt Fix minor typos (GH-1173) 2017-04-18 17:38:26 -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 bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
formatfloat_testcases.txt
future_test1.py
future_test2.py
gdb_sample.py
good_getattr.py bpo-32225: Implementation of PEP 562 (#4731) 2017-12-14 11:59:44 +01:00
idnsans.pem bpo-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
ieee754.txt
imp_dummy.py Close #24748: Restore imp.load_dynamic compatibility 2015-09-05 21:05:05 +10:00
inspect_fodder.py bpo-6700: Fix inspect.getsourcelines for module level frames/tracebacks (GH-8864) 2018-08-24 17:18:00 +03:00
inspect_fodder2.py Issue #24485: Revert backwards compatibility breaking changes of #21217. 2015-07-23 17:10:00 +03: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 bpo-32137: The repr of deeply nested dict now raises a RecursionError (#4570) 2017-12-03 22:12:11 +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 #14977: Make mailcap respect the order of the lines in the mailcap file. 2016-09-09 20:04:23 -04:00
make_ssl_certs.py bpo-34542: Update test certs and keys (GH-8997) 2018-08-30 07:25:49 +02:00
mapping_tests.py bpo-32137: The repr of deeply nested dict now raises a RecursionError (#4570) 2017-12-03 22:12:11 +02:00
math_testcases.txt
memory_watchdog.py
mime.types
mock_socket.py
mod_generics_cache.py bpo-28556: typing.get_type_hints: better globalns for classes and modules (#3582) 2017-09-14 14:33:00 -04:00
mp_fork_bomb.py
mp_preload.py Issue #28779: multiprocessing.set_forkserver_preload() would crash the forkserver process if a preloaded module instantiated some multiprocessing objects such as locks. 2016-12-10 17:13:16 +01:00
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-33209: End framing at the end of C implementation of pickle.Pickler.dump(). (GH-6363) 2018-04-03 14:11:27 -07: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 Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. 2016-09-08 20:50:03 -07:00
pydocfodder.py
pythoninfo.py bpo-35772: Fix test_tarfile on ppc64 (GH-11606) 2019-01-21 10:24:12 +01:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py Issue #22493: Inline flags now should be used only at the start of the 2016-09-11 12:50:02 +03:00
regrtest.py Issue #28950: Disallow -j0 combined with -T/-l in regrtest. 2016-12-19 22:00:22 +08:00
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 bpo-32602: Test ECDSA certs (#5247) 2018-01-20 15:16:30 +01:00
selfsigned_pythontestdotnet.pem Issue #25940: Use self-signed.pythontest.net in SSL tests 2016-01-14 09:36:00 +00:00
seq_tests.py bpo-29912: Remove redundant tests in list_tests that are found in seq_tests (GH-847) 2017-03-27 12:35:52 -07: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
Sine-1000Hz-300ms.aif
sortperf.py #27364: fix "incorrect" uses of escape character in the stdlib. 2016-09-08 13:59:53 -04:00
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 Trivial cleanups following bpo-31370 (#3649) 2017-09-18 23:50:44 +02:00
ssltests.py Make Lib/test/ssltests.py more useful and faster for OpenSSL testing 2016-09-22 16:49:35 +02:00
string_tests.py bpo-32677: Optimize str.isascii() (GH-5356) 2018-01-28 09:59:12 +09: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 Issues #29273: Merge test___all__ from 3.5 2017-01-23 22:59:03 +00:00
test___future__.py Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test__locale.py Issue #23277: Remove unused imports in tests. 2016-04-24 21:41:02 +03:00
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-34651: Only allow the main interpreter to fork. (gh-9279) 2018-09-14 14:17:20 -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-34582: Adds JUnit XML output for regression tests (GH-9210) 2018-09-18 09:10:26 -07:00
test_array.py Include the highest pickle protocol in a couple of tests. (GH-10735) 2018-11-27 07:40:49 +02:00
test_asdl_parser.py bpo-33416: Add end positions to Python AST (GH-11605) 2019-01-22 11:18:22 +00:00
test_ast.py bpo-33416: Add end positions to Python AST (GH-11605) 2019-01-22 11:18:22 +00: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 bpo-31234: Add support.join_thread() helper (#3587) 2017-09-14 14:40:56 -07:00
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 bpo-31901: atexit callbacks should be run at subinterpreter shutdown (#4611) 2017-12-20 11:17:58 +01:00
test_audioop.py bpo-28261: Fixed err msgs where PyArg_ParseTuple is used to parse normal tuples. (#3119) 2017-08-20 18:35:36 +03:00
test_augassign.py Anti-registration of various ABC methods. 2016-08-18 09:22:23 -07:00
test_base64.py bpo-34164: Fix handling of incorrect padding in base64.b32decode(). (GH-8351) 2018-07-24 12:52:51 +03:00
test_baseexception.py bpo-32297: Few misspellings found in Python source code comments. (#4803) 2017-12-14 13:04:53 +02:00
test_bdb.py bpo-34185: Fix test module collision in test_bdb when ran as script. (GH-8537) 2018-12-05 21:32:16 +02:00
test_bigaddrspace.py Replace KB unit with KiB (#4293) 2017-11-08 14:44:44 -08:00
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 Issue #23277: Remove unused sys and os imports 2016-04-24 07:31:42 +03:00
test_binop.py Spelling fixes (#2902) 2017-08-03 09:00:59 +03:00
test_bisect.py
test_bool.py bpo-29695: Remove bad keyword parameters in int(), bool(), float(), list() and tuple(). (#518) 2017-03-06 17:01:06 +02:00
test_buffer.py bpo-34201: Tweak test_buffer. (GH-8481) 2018-07-26 17:34:07 +03:00
test_bufio.py Use sequence repetition instead of bytes constructor with integer argument. 2016-09-11 14:41:02 +03:00
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-33817: Fix _PyBytes_Resize() for empty bytes object. (GH-11516) 2019-01-12 09:22:29 +02:00
test_bz2.py bpo-42349: Switch to test.support.unlink per review by Serhiy Storchaka (GH-8529) 2018-07-28 18:27:11 +01:00
test_c_locale_coercion.py bpo-35336: Fix PYTHONCOERCECLOCALE=1 (GH-10806) 2018-11-30 11:34:47 +01:00
test_calendar.py Closes bpo-28281: Remove year (1-9999) limits on the weekday() function. (#4109) 2017-10-26 15:34:11 -04:00
test_call.py bpo-34193: Fix pluralization in getargs.c and test cases. (GH-8438) 2018-12-21 16:45:13 +02:00
test_capi.py bpo-35059: Enhance _PyObject_AssertFailed() (GH-10642) 2018-11-21 23:53:44 +01: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 bpo-33256: Replace angle brackets around python object repr to display it in html (GH-6442) 2018-04-29 20:48:33 +03:00
test_charmapcodec.py Remove unused support.run_unittest imports. 2016-04-24 23:42:49 +03:00
test_class.py bpo-1617161: Make the hash and equality of methods not depending on the value of self. (GH-7848) 2018-07-31 09:18:24 +03: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 bpo-32746: Fix multiple typos (GH-5144) 2018-02-03 19:36:10 -05:00
test_cmd_line.py Revert "bpo-34589: Add -X coerce_c_locale command line option (GH-9378)" (GH-9430) 2018-09-19 14:56:36 -07:00
test_cmd_line_script.py bpo-34726: Fix handling of hash-based pycs in zipimport. (GH-10327) 2018-11-07 20:34:59 +02:00
test_code.py bpo-32176: Set CO_NOFREE in the code object constructor (GH-4675) 2017-12-03 11:12:20 +10:00
test_code_module.py bpo-31836: Test_code_module now passes with sys.ps1, ps2 set (#4070) 2017-10-27 21:45:19 -04:00
test_codeccallbacks.py bpo-32583: Fix possible crashing in builtin Unicode decoders (#5325) 2018-01-31 20:48:05 +08:00
test_codecencodings_cn.py bpo-30003: Fix handling escape characters in HZ codec (#1556) 2017-05-22 22:42:05 +08:00
test_codecencodings_hk.py Remove unused support.run_unittest imports. 2016-04-24 23:42:49 +03:00
test_codecencodings_iso2022.py Remove unused support.run_unittest imports. 2016-04-24 23:42:49 +03:00
test_codecencodings_jp.py Remove unused support.run_unittest imports. 2016-04-24 23:42:49 +03:00
test_codecencodings_kr.py Remove unused support.run_unittest imports. 2016-04-24 23:42:49 +03:00
test_codecencodings_tw.py Remove unused support.run_unittest imports. 2016-04-24 23:42:49 +03:00
test_codecmaps_cn.py Issue #23277: Remove unused support.run_unittest import. 2016-04-24 13:45:58 +03:00
test_codecmaps_hk.py Issue #23277: Remove unused support.run_unittest import. 2016-04-24 13:45:58 +03:00
test_codecmaps_jp.py Remove unused support.run_unittest imports. 2016-04-24 23:42:49 +03:00
test_codecmaps_kr.py Fix miscellaneous typos (#4275) 2017-11-05 15:37:50 +02:00
test_codecmaps_tw.py Issue #23277: Remove unused support.run_unittest import. 2016-04-24 13:45:58 +03:00
test_codecs.py bpo-35372: Fix the code page decoder for input > 2 GiB. (GH-10848) 2018-12-03 10:36:45 +02:00
test_codeop.py Revert "bpo-33671: Add support.MS_WINDOWS and support.MACOS (GH-7800)" (GH-7919) 2018-06-26 02:11:06 +02:00
test_collections.py bpo-32492: Tweak _collections._tuplegetter. (GH-11367) 2018-12-31 14:15:16 +02:00
test_colorsys.py
test_compare.py Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test_compile.py bpo-34100: compile: Re-enable frozenset merging (GH-10760) 2018-11-28 16:58:46 +01:00
test_compileall.py bpo-29877: compileall: import ProcessPoolExecutor only when needed (GH-4856) 2018-11-23 09:06:55 -08:00
test_complex.py bpo-34087: Fix buffer overflow in int(s) and similar functions (GH-8274) 2018-07-14 12:06:43 +09:00
test_concurrent_futures.py bpo-33716, test_concurrent_futures: increase timeout (GH-7828) 2018-06-21 12:30:37 +01:00
test_configparser.py bpo-32108: Don't clear configparser values if key is assigned to itself (GH-7588) 2018-06-12 13:37:51 -07:00
test_contains.py Anti-registration of various ABC methods. 2016-08-18 09:22:23 -07:00
test_context.py bpo-33985: Implement ContextVar.name attribute. (GH-7980) 2018-06-28 13:20:29 -04:00
test_contextlib.py bpo-35202: Remove unused imports in Lib directory (GH-10450) 2018-11-15 21:59:19 +09:00
test_contextlib_async.py bpo-34183: Fix running Lib/test/test_contextlib_async.py as a script. (GH-8381) 2018-07-23 23:38:31 +03:00
test_copy.py Issue #26167: Backported copy tests. 2016-03-06 15:03:07 +02:00
test_copyreg.py bpo-31107: Fix copyreg mangled slot names calculation. (#2989) 2017-08-04 11:45:00 +03:00
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 Issue #9517: Move script_helper to the support package. 2015-05-06 06:33:17 +03:00
test_crypt.py bpo-31702: Allow to specify rounds for SHA-2 hashing in crypt.mksalt(). (#4110) 2017-11-16 13:22:51 +02:00
test_csv.py bpo-34197: Make _csv.Dialect attributes booleans. (GH-8440) 2018-07-26 13:21:09 +03: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-33947: dataclasses no longer can raise RecursionError in repr (GF9916) 2018-10-19 12:54:50 -04:00
test_datetime.py bpo-31043: fixed test_datetime run twice. (GH-2891) 2017-07-26 19:46:17 +09:00
test_dbm.py Use more specific asserts in dbm tests. (GH-7786) 2018-06-19 13:31:48 +03:00
test_dbm_dumb.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_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 Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test_defaultdict.py bpo-27541: Reprs of subclasses of some classes now contain actual type name. (#3631) 2017-09-21 14:24:13 +03:00
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-25750: Add test on bad descriptor __get__() (GH-9084) 2018-10-19 23:50:06 +02:00
test_descrtut.py Issue #27366: Implement PEP 487 2016-07-30 16:26:03 +10:00
test_devpoll.py Issue #23277: Remove unused imports in tests. 2016-04-24 21:41:02 +03:00
test_dict.py Include the highest pickle protocol in a couple of tests. (GH-10735) 2018-11-27 07:40:49 +02:00
test_dict_version.py Rename test_pep####.py files 2016-09-09 12:55:37 -07:00
test_dictcomps.py bpo-35169: Improve error messages for forbidden assignments. (GH-10342) 2018-11-20 19:27:16 +02:00
test_dictviews.py bpo-18533: Avoid RecursionError from repr() of recursive dictview (#4823) 2018-01-26 07:46:01 -08:00
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 Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-08-30 10:47:49 -07:00
test_dis.py bpo-12458: Fix line numbers for multiline expressions. (GH-8774) 2018-09-17 15:17:29 +03: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 Backed out changeset af29d89083b3 (closes #25548) (closes #27498) 2016-07-13 21:13:29 -07:00
test_doctest4.txt
test_docxmlrpc.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_dtrace.py bpo-32667: Fix tests when $PATH contains a file (#5322) 2018-01-25 19:06:05 +01:00
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 Restore dummy_threading and _dummy_thread, but deprecate them (bpo-31370) (#3648) 2017-09-18 22:04:20 +02:00
test_dynamic.py Issue #23277: Remove unused imports in tests. 2016-04-24 21:41:02 +03:00
test_dynamicclassattribute.py Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
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-35313: Cleanup test_embed.py (GH-10716) 2018-11-26 12:37:34 +01:00
test_ensurepip.py bpo-31351: Set return code in ensurepip when pip fails (GH-3626) 2017-09-21 20:07:45 +10:00
test_enum.py bpo-34536: Cleanup test_enum imports (GH-9979) 2018-10-19 16:57:19 -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 Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test_epoll.py bpo-32568: make select.epoll() and its docs consistent (#7840) 2018-06-30 15:43:23 +03:00
test_errno.py Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
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 Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
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 bpo-35634: Raise an error when first passed kwargs contains duplicated keys. (GH-11438) 2019-01-12 10:12:24 +02:00
test_faulthandler.py bpo-35568: add 'raise_signal' function (GH-11335) 2019-01-08 01:58:25 -08:00
test_fcntl.py remove support for BSD/OS (closes bpo-31624) (#3812) 2017-09-28 22:44:27 -07: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 Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test_filecmp.py
test_fileinput.py bpo-9372: Deprecate several __getitem__ methods (GH-8609) 2018-08-11 09:05:04 +03:00
test_fileio.py bpo-25455: Fixed crashes in repr of recursive buffered file-like objects. (#514) 2017-03-19 19:25:29 +02:00
test_finalization.py Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test_float.py bpo-35560: Remove assertion from format(float, "n") (GH-11288) 2019-01-07 16:09:14 +01:00
test_flufl.py bpo-34084: Fix setting an error message for the "Barry as BDFL" easter egg. (GH-8262) 2018-07-23 23:41:11 +03:00
test_fnmatch.py bpo-32775: Fix regular expression warnings in fnmatch. (#5583) 2018-02-09 13:30:19 +02:00
test_fork1.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_format.py bpo-28856: Let %b format for bytes support objects that follow the buffer protocol (GH-546) 2017-03-14 15:07:15 +08:00
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-16806: Fix lineno and col_offset for multi-line string tokens (GH-10021) 2019-01-13 13:05:13 +09:00
test_ftplib.py bpo-34391: Fix ftplib test for TLS 1.3 (GH-8787) 2018-08-16 19:43:44 +02:00
test_funcattrs.py bpo-30486: Allow setting cell value (#1840) 2017-06-08 14:43:26 +03:00
test_functools.py bpo-32321: Add pure Python fallback for functools.reduce (GH-8548) 2018-10-25 16:02:10 +02:00
test_future.py bpo-35202: Remove unused imports in tests. (GH-10561) 2018-11-16 17:32:58 +02: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-9263: Dump Python object on GC assertion failure (GH-10062) 2018-10-25 17:31:10 +02: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 Rename test_pep####.py files 2016-09-09 12:55:37 -07:00
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-32226: Make __class_getitem__ an automatic class method. (#5098) 2018-01-05 00:21:41 +02: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-34193: Fix pluralization in getargs.c and test cases. (GH-8438) 2018-12-21 16:45:13 +02:00
test_getopt.py Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test_getpass.py
test_gettext.py bpo-2504: Add pgettext() and variants to gettext. (GH-7253) 2018-11-07 16:12:20 +02:00
test_glob.py Use assertCountEqual instead of assertEqual. (#5223) 2018-01-17 14:57:57 -08:00
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-34850: Emit a warning for "is" and "is not" with a literal. (GH-9642) 2019-01-18 07:47:48 +02:00
test_grp.py [security] bpo-13617: Reject embedded null characters in wchar* strings. (#2302) 2017-06-28 08:30:06 +03:00
test_gzip.py bpo-34898: Add mtime parameter to gzip.compress(). (GH-9704) 2018-11-07 11:50:23 +02:00
test_hash.py Fix miscellaneous typos (#4275) 2017-11-05 15:37:50 +02:00
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 Issue #23277: Remove unused sys and os imports 2016-04-24 07:31:42 +03:00
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 Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test_htmlparser.py #27364: fix "incorrect" uses of escape character in the stdlib. 2016-09-08 13:59:53 -04:00
test_http_cookiejar.py bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284) 2018-11-05 16:20:25 +02:00
test_http_cookies.py bpo-991266: Fix quoting of Comment attribute of SimpleCookie (GH-6555) 2018-04-23 02:48:11 +03:00
test_httplib.py bpo-33365: print the header values beside the keys (GH-6611) 2018-06-19 16:20:58 +03:00
test_httpservers.py Adds IPv6 support when invoking http.server directly. (GH-10595) 2018-11-26 10:43:38 -08:00
test_idle.py Improve comments in test_idle.py. (GH-7057) 2018-05-22 13:24:04 -04:00
test_imaplib.py bpo-18540: Fix EAI_NONAME in imaplib.IMAP4*() (GH-8634) 2018-08-07 05:12:18 +03:00
test_imghdr.py Issue #28228: imghdr now supports pathlib 2016-10-01 05:01:54 +03:00
test_imp.py closes bpo-34056: Always return bytes from _HackedGetData.get_data(). (GH-8130) 2018-07-06 20:41:06 -07:00
test_index.py
test_inspect.py bpo-34890: Make iscoroutinefunction, isgeneratorfunction and isasyncgenfunction work with functools.partial (GH-9903) 2018-10-26 12:19:14 +01:00
test_int.py bpo-31619: Fixed a ValueError when convert a string with large number of underscores (#3827) 2017-10-03 14:13:44 +03:00
test_int_literal.py Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test_io.py bpo-35214: Skip test_io tests that'd cause a huge malloc under msan (#11385) 2018-12-30 20:17:57 -08:00
test_ioctl.py Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test_ipaddress.py bpo-27683: Fix a regression for host() of ipaddress network objects (GH-6016) 2018-03-21 08:25:13 +08:00
test_isinstance.py Remove outdated tests in test_isinstance (GH-1393) 2017-05-02 10:17:18 -07:00
test_iter.py Anti-registration of various ABC methods. 2016-08-18 09:22:23 -07:00
test_iterlen.py Issue #23277: Remove unused support.run_unittest import. 2016-04-24 13:45:58 +03:00
test_itertools.py bpo-34659: Adds initial kwarg to itertools.accumulate() (GH-9345) 2018-09-23 17:34:59 -07:00
test_keyword.py
test_keywordonlyarg.py Issue #18896: Python function can now have more than 255 parameters. 2016-12-16 19:19:02 +02:00
test_kqueue.py bpo-30058: Fixed buffer overflow in select.kqueue.control(). (#1095) 2017-10-12 22:17:46 +03: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 Issue #27076: Merge spelling from 3.5 2016-05-26 06:03:19 +00:00
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 bpo-31027: Fix test_listcomps failure when run directly (#2939) 2017-07-29 12:05:55 -04:00
test_lltrace.py bpo-34113: Fix a crash when using LLTRACE is on (GH-8517) 2018-07-31 22:55:14 +02:00
test_locale.py Revert "bpo-33671: Add support.MS_WINDOWS and support.MACOS (GH-7800)" (GH-7919) 2018-06-26 02:11:06 +02:00
test_logging.py bpo-34997: Fix test_logging.ConfigDictTest.test_out_of_order (GH-9913) 2018-10-16 15:17:57 +01: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 Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test_lzma.py bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995) 2018-02-13 19:28:33 +09:00
test_mailbox.py bpo-31522: mailbox.get_string: pass from_ parameter to get_bytes (#9857) 2018-10-18 20:21:47 -04:00
test_mailcap.py Merge: #14977: Make mailcap respect the order of the lines in the mailcap file. 2016-09-09 20:09:43 -04:00
test_marshal.py Fix fuzz testing for marshal.loads(). (GH-8106) 2018-07-05 12:19:19 +03:00
test_math.py bpo-34838: Use subclass_of for math.dist. (GH-9659) 2019-01-12 08:23:41 +02:00
test_memoryio.py bpo-30416: Protect the optimizer during constant folding. (#4860) 2017-12-15 14:11:43 +02:00
test_memoryview.py bpo-33176: Add a toreadonly() method to memoryviews. (GH-6466) 2018-04-14 19:49:21 +02:00
test_metaclass.py Issue #24254: Drop cls.__definition_order__. 2016-09-08 15:11:11 -07:00
test_mimetypes.py bpo-34926: Make mimetypes.guess_type accept os.PathLike objects (GH-9777) 2018-10-10 16:46:44 +02:00
test_minidom.py bpo-35052: Fix handler on xml.dom.minidom.cloneNode() (GH-11061) 2018-12-10 11:12:53 +01:00
test_mmap.py bpo-34754: Fix test_flush_return_value on FreeBSD (GH-9451) 2018-09-20 19:53:06 +03:00
test_module.py bpo-32225: Implementation of PEP 562 (#4731) 2017-12-14 11:59:44 +01:00
test_modulefinder.py Issue #26881: The modulefinder module now supports extended opcode arguments. 2016-05-08 23:43:50 +03:00
test_msilib.py bpo-12239: Make GetProperty() return None for VT_EMPTY (GH-4539) 2017-11-24 18:11:18 +03: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 Adds test.support.PGO and skips tests that are not useful for PGO. 2016-09-06 19:38:15 -07:00
test_netrc.py bpo-35202: Remove unused imports in tests. (GH-10561) 2018-11-16 17:32:58 +02:00
test_nis.py Issue #23277: Remove unused sys and os imports 2016-04-24 07:31:42 +03:00
test_nntplib.py bpo-32128: Skip test_nntplib.test_article_head_body() (#4552) 2017-11-25 02:42:18 +01: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-31047: Fix ntpath.abspath to trim ending separator (GH-10082) 2018-10-25 11:26:37 -04:00
test_numeric_tower.py Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
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 Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test_operator.py bpo-35664: Optimize operator.itemgetter (GH-11435) 2019-01-07 09:38:41 -07:00
test_optparse.py bpo-30397: Add re.Pattern and re.Match. (#1646) 2017-10-04 20:09:49 +03:00
test_ordered_dict.py bpo-34574: Prevent OrderedDict iterators from exhaustion during pickling. (GH-9051) 2018-10-20 08:20:39 +03:00
test_os.py bpo-35371: Fix possible crash in os.utime() on Windows. (GH-10844) 2018-12-01 14:30:20 +02: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 Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test_parser.py bpo-33416: Add end positions to Python AST (GH-11605) 2019-01-22 11:18:22 +00:00
test_pathlib.py bpo-35488: Add tests for ** glob matching in pathlib (GH-11171) 2019-01-06 12:31:29 -08:00
test_pdb.py bpo-33562: Check the global asyncio event loop policy isn't set after any tests (GH-7328) 2018-06-01 20:34:09 -07:00
test_peepholer.py bpo-32925: Optimized iterating and containing test for literal lists (GH-5842) 2018-03-11 10:54:47 +02:00
test_pickle.py Fix upsizing of marks stack in pickle module. (GH-8860) 2018-08-25 10:54:40 +03:00
test_pickletools.py bpo-31993: Do not allocate large temporary buffers in pickle dump. (#4353) 2018-01-06 17:18:54 +02:00
test_pipes.py Issue #26918: Skipped some tests in test_pipes on Android. 2016-05-05 10:55:45 +03: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 Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test_pkgutil.py bpo-24744: Raises error in pkgutil.walk_packages if path is str (#1926) 2017-06-13 13:11:14 -04:00
test_platform.py bpo-35346, platform: replace os.popen() with subprocess (GH-10786) 2018-12-07 11:10:33 +01:00
test_plistlib.py Fix implementation dependent assertion in test_plistlib. (#4813) 2017-12-12 19:03:08 +02:00
test_poll.py bpo-20260: Implement non-bitwise unsigned int converters for Argument Clinic. (GH-8434) 2018-07-26 13:22:16 +03:00
test_popen.py Issue #23738: Merge 3.4 into 3.5 2015-09-09 01:56:53 +00:00
test_poplib.py bpo-33618: Enable TLS 1.3 in tests (GH-7079) 2018-05-23 22:24:45 +02:00
test_posix.py bpo-35794: Catch PermissionError in test_no_such_executable (GH-11635) 2019-01-21 14:35:43 +00: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 Issue #29156: Remove superfluous pow test. 2017-01-04 18:53:00 +02:00
test_pprint.py Backed out changeset af29d89083b3 (closes #25548) (closes #27498) 2016-07-13 21:13:29 -07:00
test_print.py bpo-32685: Improve suggestion for print statement (GH-5375) 2018-01-28 20:56:02 +10:00
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 bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995) 2018-02-13 19:28:33 +09:00
test_pstats.py bpo-29237: Create enum for pstats sorting options (GH-5103) 2018-01-25 20:49:56 -08:00
test_pty.py bpo-31158: Fix nondeterministic read in test_pty (#3808) 2017-10-02 02:39:55 -07:00
test_pulldom.py bpo-17239: Disable external entities in SAX parser (GH-9217) 2018-09-23 00:50:25 -07:00
test_pwd.py bpo-26856: Skip test_pwd on Android until issue 32033 is fixed (GH-4561) 2017-11-25 17:32:27 +01:00
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-32892: Use ast.Constant instead of specific constant AST types. (GH-9445) 2018-09-27 17:42:37 +03:00
test_pydoc.py bpo-35619: Improve support of custom data descriptors in help() and pydoc. (GH-11366) 2019-01-15 10:53:18 +02:00
test_pyexpat.py Issue #27369: Merge test_pyexpat from 3.4 into 3.5 2016-07-14 03:35:15 +00:00
test_queue.py bpo-35202: Remove unused imports in Lib directory. (GH-10446) 2018-11-10 09:22:02 +02:00
test_quopri.py Issue #23277: Remove unused sys and os imports 2016-04-24 07:31:42 +03:00
test_raise.py bpo-30579: Allow TracebackType creation and tb_next mutation from Python (GH-4793) 2018-01-07 23:30:18 +10:00
test_random.py bpo-30561: Sync-up expovariate() and gammavariate code (GH-1934) 2018-12-23 22:54:25 -08: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-30688: Support \N{name} escapes in re patterns. (GH-5588) 2018-02-10 00:08:17 +02:00
test_readline.py Skip test_readline.test_nonascii() on C locale (#5203) 2018-01-16 17:34:34 +01:00
test_regrtest.py bpo-35568: add 'raise_signal' function (GH-11335) 2019-01-08 01:58:25 -08:00
test_repl.py bpo-30696: Fix the REPL looping endlessly when no memory (GH-4160) 2017-11-12 16:50:48 +01:00
test_reprlib.py Backed out changeset af29d89083b3 (closes #25548) (closes #27498) 2016-07-13 21:13:29 -07:00
test_resource.py bpo-35202: Remove unused imports in tests. (GH-10561) 2018-11-16 17:32:58 +02:00
test_richcmp.py Issue #25210: Add some basic tests for the new exception message 2015-10-22 07:49:36 +03:00
test_rlcompleter.py Merge 3.5 2016-02-04 14:08:23 -05:00
test_robotparser.py bpo-21475: Support the Sitemap extension in robotparser (GH-6883) 2018-05-16 10:52:07 -04:00
test_runpy.py Issue #17211: Yield a namedtuple in pkgutil. 2016-09-07 18:37:17 -07:00
test_sax.py bpo-35202: Remove unused imports in tests. (GH-10561) 2018-11-16 17:32:58 +02:00
test_sched.py bpo-31234: Add support.join_thread() helper (#3587) 2017-09-14 14:40:56 -07:00
test_scope.py Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test_script_helper.py bpo-32942: Fix environment dependent test_script_helper (GH-8034) 2018-07-04 12:10:15 +02:00
test_secrets.py Issue #29061: secrets.randbelow() would hang with a negative input 2016-12-29 22:54:25 -07:00
test_select.py Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test_selectors.py bpo-33522: Enable CI builds on Visual Studio Team Services (#6865) 2018-05-16 17:50:29 -04:00
test_set.py Remove unused imports. 2016-12-16 20:00:15 +02:00
test_setcomps.py
test_shelve.py Issue #27431: Update default protocol version in shelve.Shelf() documentation 2016-07-01 12:33:00 +03:00
test_shlex.py Fixed #29132: Updated shlex to work better with punctuation chars in POSIX mode. 2017-01-15 10:06:52 +00:00
test_shutil.py bpo-20849: add dirs_exist_ok arg to shutil.copytree (patch by Josh Bronson) 2018-12-28 19:03:40 +01:00
test_signal.py bpo-35568: add 'raise_signal' function (GH-11335) 2019-01-08 01:58:25 -08:00
test_site.py bpo-33306: Improve SyntaxError messages for unbalanced parentheses. (GH-6516) 2018-12-17 17:34:14 +02:00
test_slice.py test_support -> support 2016-04-16 15:02:23 -07:00
test_smtpd.py bpo-29639: change test.support.HOST to "localhost" 2017-09-09 00:30:15 -07:00
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 bpo-31346: Use PROTOCOL_TLS_CLIENT/SERVER (#3058) 2017-09-15 20:27:30 +02:00
test_sndhdr.py
test_socket.py Make sure file object is close if socket.create_connection fails (GH-11334) 2018-12-29 01:42:16 +00:00
test_socketserver.py bpo-29184: Skip test_socketserver tests on PermissionError raised by Android (GH-4387) 2017-11-18 18:10:53 +01:00
test_sort.py bpo-28685: Optimize sorted() list.sort() with type-specialized comparisons (#582) 2018-01-28 19:03:23 -08:00
test_source_encoding.py Issue #26581: Use the first coding cookie on a line, not the last one. 2016-03-20 23:36:29 +02:00
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 bpo-27645: Add support for native backup facility of SQLite (GH-4238) 2018-03-11 01:08:31 +03:00
test_ssl.py bpo-35045: Accept TLSv1 default in min max test (GH-11510) 2019-01-18 16:09:30 +01:00
test_startfile.py Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test_stat.py closes bpo-34353: Add sockets to stat.filemode fallback python implementation. (GH-8703) 2018-08-09 22:12:08 -07:00
test_statistics.py bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263) 2017-04-24 09:05:00 +03:00
test_strftime.py bpo-32139: test_strftime does not anymore modify the locale (GH-4569) 2017-11-29 11:36:48 +01:00
test_string.py bpo-31672: Restore the former behavior when override flags in Template. (#5099) 2018-01-04 19:20:11 +02:00
test_string_literals.py bpo-16806: Fix lineno and col_offset for multi-line string tokens (GH-10021) 2019-01-13 13:05:13 +09:00
test_stringprep.py Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
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 Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test_struct.py bpo-30249: Improve struct.unpack_from() error messages (GH-6059) 2018-03-11 02:58:52 +08:00
test_structmembers.py Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test_structseq.py Issue #27626: Spelling fixes in docs, comments and internal names 2016-07-28 01:11:04 +00:00
test_subclassinit.py Remove unused imports. 2016-12-16 20:00:15 +02:00
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 bpo-32056: Improve exceptions in aifc, wave and sunau. (GH-5951) 2018-03-18 09:55:53 +02:00
test_sundry.py bpo-19382: Adding test cases for module tabnanny (GH-851) 2018-06-14 09:05:35 +02:00
test_super.py bpo-23722: Raise a RuntimeError for absent __classcell__. (GH-6931) 2018-05-20 08:48:12 +03:00
test_support.py bpo-34812: subprocess._args_from_interpreter_flags(): add isolated (GH-10675) 2018-11-23 17:54:20 +01:00
test_symbol.py bpo-30455: Generate all token related code and docs from Grammar/Tokens. (GH-10370) 2018-12-22 11:18:40 +02: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-35169: Improve error messages for forbidden assignments. (GH-10342) 2018-11-20 19:27:16 +02:00
test_sys.py bpo-35202: Remove unused imports in Lib directory. (GH-10446) 2018-11-10 09:22:02 +02:00
test_sys_setprofile.py bpo-34125: Enable profiling of method_descriptor in all cases (GH-8416) 2018-09-19 03:06:20 -07:00
test_sys_settrace.py bpo-33562: Check the global asyncio event loop policy isn't set after any tests (GH-7328) 2018-06-01 20:34:09 -07:00
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 Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test_tabnanny.py closes bpo-34594: Don't hardcode errno values in the tests. (GH-9076) 2018-09-06 11:43:30 -07:00
test_tarfile.py bpo-35772: Fix test_tarfile on ppc64 (GH-11606) 2019-01-21 10:24:12 +01:00
test_tcl.py bpo-33974: Fix passing special characters to ttk widgets. (GH-7986) 2018-06-30 09:20:28 +03:00
test_telnetlib.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_tempfile.py bpo-27300: Add the errors parameter to tempfile classes. (GH-6696) 2018-05-23 08:07:01 +03:00
test_textwrap.py bpo-30603: add tests to textwrap.dedent (GH-2206) 2017-06-15 19:18:54 -07:00
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 bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_threadedtempfile.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_threading.py bpo-35283: Add deprecation warning for Thread.isAlive (GH-11454) 2019-01-17 13:14:45 +01: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-34373: fix test_mktime and test_pthread_getcpuclickid tests on AIX (GH-8726) 2018-12-28 23:57:37 +10:00
test_timeit.py Remove unused imports. 2016-12-16 20:00:15 +02:00
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 Issue #21337: Add bare-bones Tix test 2015-05-17 20:55:42 -05:00
test_tk.py Issue #20035: Reimplement tkinter._fix module as a C function. 2015-05-22 11:36:53 -05:00
test_tokenize.py bpo-30455: Generate all token related code and docs from Grammar/Tokens. (GH-10370) 2018-12-22 11:18:40 +02:00
test_trace.py bpo-34876: Change the lineno of the AST for decorated function and class. (GH-9731) 2018-10-30 13:16:02 +02: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 Issue #23277: Remove unused sys and os imports 2016-04-24 07:31:42 +03:00
test_ttk_textonly.py Issue #23277: Remove unused sys and os imports 2016-04-24 07:31:42 +03:00
test_tuple.py bpo-34751: improved hash function for tuples (GH-9471) 2018-10-27 20:06:38 -04:00
test_turtle.py Issue #21916: Added more tests for the turtle module. 2016-06-05 10:32:57 +03:00
test_typechecks.py Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test_types.py bpo-32265: Classify class and static methods of builtin types. (#4776) 2017-12-15 14:13:41 +02:00
test_typing.py bpo-35341: Add generic version of OrderedDict to typing (GH-10850) 2018-12-02 15:53:14 +00:00
test_ucn.py Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test_unary.py Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test_unicode.py bpo-33817: Fix _PyBytes_Resize() for empty bytes object. (GH-11516) 2019-01-12 09:22:29 +02:00
test_unicode_file.py Fix miscellaneous typos (#4275) 2017-11-05 15:37:50 +02:00
test_unicode_file_functions.py Fix miscellaneous typos (#4275) 2017-11-05 15:37:50 +02:00
test_unicode_identifiers.py Remove unused imports. 2016-12-16 20:00:15 +02:00
test_unicodedata.py bpo-29456: Fix bugs in unicodedata.normalize: u1176, u11a7 and u11c3 (GH-1958) 2018-06-15 20:03:14 +08:00
test_unittest.py
test_univnewlines.py
test_unpack.py bpo-32259: Make a TypeError message when unpack non-iterable more specific. (#4903) 2017-12-26 12:30:41 +02:00
test_unpack_ex.py bpo-32259: Make a TypeError message when unpack non-iterable more specific. (#4903) 2017-12-26 12:30:41 +02:00
test_urllib.py Minor spell fix and formatting fixes in urllib tests. (#959) 2017-04-01 23:47:35 -07:00
test_urllib2.py Remove Invalid comment in test_urllib2.py (#1020) 2017-04-07 00:19:08 -07:00
test_urllib2_localnet.py bpo-34031: fix incorrect usage of self.fail in two tests (GH-8091) 2018-07-10 12:46:44 +03:00
test_urllib2net.py bpo-35411: Skip test_urllib2net FTP tests on Travis CI (GH-10907) 2018-12-05 01:58:31 +01:00
test_urllib_response.py
test_urllibnet.py Remove unused variable in test_urllibnet. (#1598) 2017-05-15 23:08:07 -07:00
test_urlparse.py bpo-35202: Remove unused imports in tests. (GH-10561) 2018-11-16 17:32:58 +02:00
test_userdict.py Remove unused support.run_unittest imports. 2016-04-24 23:42:49 +03:00
test_userlist.py Remove unused support.run_unittest imports. 2016-04-24 23:42:49 +03:00
test_userstring.py Issue #23277: Remove unused imports in tests. 2016-04-24 21:41:02 +03:00
test_utf8_mode.py bpo-35202: Remove unused imports in tests. (GH-10561) 2018-11-16 17:32:58 +02:00
test_utf8source.py Rename test_pep####.py files 2016-09-09 12:55:37 -07:00
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-34977: Use venv redirector instead of original python.exe on Windows (GH-11029) 2018-12-10 08:11:21 -08:00
test_wait3.py Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test_wait4.py Issue #25795: Fix several tests to run independently. 2015-12-04 23:32:23 -06:00
test_wave.py bpo-32056: Improve exceptions in aifc, wave and sunau. (GH-5951) 2018-03-18 09:55:53 +02:00
test_weakref.py bpo-32746: Fix multiple typos (GH-5144) 2018-02-03 19:36:10 -05:00
test_weakset.py Issue #23277: Remove unused imports in tests. 2016-04-24 21:41:02 +03:00
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 bpo-31966: Fixed WindowsConsoleIO.write() for writing empty data. (GH-5754) 2018-02-24 18:55:51 +02:00
test_winreg.py Trivial cleanups following bpo-31370 (#3649) 2017-09-18 23:50:44 +02:00
test_winsound.py [security] bpo-13617: Reject embedded null characters in wchar* strings. (#2302) 2017-06-28 08:30:06 +03:00
test_with.py bpo-32670: Enforce PEP 479. (#5327) 2018-01-26 15:24:24 -05:00
test_wsgiref.py Revert "bpo-35565: Add detail to assertion failure message in wsgiref" (GH-11317) 2018-12-25 15:59:07 -08:00
test_xdrlib.py Issue #21741: Update 147 test modules to use test discovery. 2015-04-13 15:00:43 -05:00
test_xml_dom_minicompat.py Issue #10131: Fixed deep copying of minidom documents. Based on patch 2015-11-26 23:49:42 +02:00
test_xml_etree.py bpo-34160: Preserve user specified order of Element attributes in html. (GH-10190) 2018-10-29 19:31:04 +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-18799: Resurrect test_404 in test_xmlrpc. (GH-11196) 2018-12-17 16:16:24 +02:00
test_xmlrpc_net.py bpo-31724: Skip test_xmlrpc_net (GH-3921) 2017-10-08 01:31:23 -05:00
test_xxtestfuzz.py bpo-29505: Add fuzz tests for float(str), int(str), unicode(str) (#2878) 2017-09-06 11:15:35 -07:00
test_yield_from.py bpo-30399: Get rid of trailing comma in the repr of BaseException. (#1650) 2017-11-15 17:53:28 +02:00
test_zipapp.py bpo-32297: Few misspellings found in Python source code comments. (#4803) 2017-12-14 13:04:53 +02:00
test_zipfile.py bpo-34341: Fix appending to ZIP archives with the ZIP64 extension. (GH-8683) 2018-09-17 15:36:40 +03:00
test_zipfile64.py bpo-35513: Replace time.time() with time.monotonic() in tests (GH-11182) 2018-12-17 09:36:36 +01:00
test_zipimport.py bpo-5950: Support reading zips with comments in zipimport (#9548) 2018-09-25 15:15:47 -04:00
test_zipimport_support.py Issue #23277: Remove unused imports in tests. 2016-04-24 21:41:02 +03:00
test_zlib.py bpo-34582: Update syntax of Azure Pipelines builds (GH-9521) 2018-09-24 07:44:50 -04:00
testcodec.py
testtar.tar
tf_inherit_check.py Issue 23314: SuppressCrashReports now disables CRT assertions 2015-02-23 07:56:13 -08:00
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 bpo-31462: Remove trailing whitespaces. (#3564) 2017-09-14 09:38:36 +03:00
tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt bpo-31462: Remove trailing whitespaces. (#3564) 2017-09-14 09:38:36 +03:00
tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt
tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt bpo-31462: Remove trailing whitespaces. (#3564) 2017-09-14 09:38:36 +03:00
tokenize_tests.txt bpo-31462: Remove trailing whitespaces. (#3564) 2017-09-14 09:38:36 +03:00
win_console_handler.py
xmltests.py
zip_cp437_header.zip
zipdir.zip