cpython/Lib/test
Nathaniel J. Smith ab4413a7e9 bpo-30039: Don't run signal handlers while resuming a yield from stack (#1081)
If we have a chain of generators/coroutines that are 'yield from'ing
each other, then resuming the stack works like:

- call send() on the outermost generator
- this enters _PyEval_EvalFrameDefault, which re-executes the
  YIELD_FROM opcode
- which calls send() on the next generator
- which enters _PyEval_EvalFrameDefault, which re-executes the
  YIELD_FROM opcode
- ...etc.

However, every time we enter _PyEval_EvalFrameDefault, the first thing
we do is to check for pending signals, and if there are any then we
run the signal handler. And if it raises an exception, then we
immediately propagate that exception *instead* of starting to execute
bytecode. This means that e.g. a SIGINT at the wrong moment can "break
the chain" – it can be raised in the middle of our yield from chain,
with the bottom part of the stack abandoned for the garbage collector.

The fix is pretty simple: there's already a special case in
_PyEval_EvalFrameEx where it skips running signal handlers if the next
opcode is SETUP_FINALLY. (I don't see how this accomplishes anything
useful, but that's another story.) If we extend this check to also
skip running signal handlers when the next opcode is YIELD_FROM, then
that closes the hole – now the exception can only be raised at the
innermost stack frame.

This shouldn't have any performance implications, because the opcode
check happens inside the "slow path" after we've already determined
that there's a pending signal or something similar for us to process;
the vast majority of the time this isn't true and the new check
doesn't run at all.
2017-05-17 13:33:23 -07:00
..
audiodata
capath
cjkencodings
crashers
data
decimaltestdata
dtracedata DTrace support: function calls, GC activity, line execution 2016-09-09 17:37:37 -07:00
eintrdata bpo-30320: test_eintr now uses pthread_sigmask() (#1523) 2017-05-10 02:37:42 +02:00
encoded_modules
imghdrdata
leakers
libregrtest bpo-30258: regrtest: Fix run_tests_multiprocess() (#1479) 2017-05-09 11:34:01 +02:00
sndhdrdata Minor test cleanup (GH-837) 2017-03-27 00:08:31 -05:00
subprocessdata
support bpo-30197: Enhance functions swap_attr() and swap_item() in test.support. (#1341) 2017-04-28 18:17:26 +02:00
test_asyncio bpo-30110: fix resource leak in test_asyncio.test_events (#1413) 2017-05-15 11:56:40 +08:00
test_email Merge #28407 Improve test coverage of make_msgid. 2016-12-17 22:04:20 -05:00
test_import bpo-30024: Circular imports involving absolute imports with binding (#1264) 2017-05-09 22:31:05 +03:00
test_importlib bpo-30158: Fix deprecation warnings in test_importlib introduced by bpo-29576. (#1285) 2017-04-29 07:06:49 +03:00
test_json bpo-29919: Remove unused imports found by pyflakes (#137) 2017-03-27 16:05:26 +02:00
test_tools bpo-30109: Fix reindent.py (GH-1207) 2017-04-19 22:59:20 -07:00
test_warnings bpo-20548: Use specific asserts in warnings and exceptions tests (#788) 2017-03-30 18:05:08 +03:00
tracedmodules
xmltestdata
Sine-1000Hz-300ms.aif
__init__.py
__main__.py
_test_multiprocessing.py bpo-30301: Fix AttributeError when using SimpleQueue.empty() (#1601) 2017-05-17 21:04:00 +08:00
allsans.pem
ann_module.py
ann_module2.py
ann_module3.py
audiotest.au
audiotests.py
autotest.py
bad_coding.py
bad_coding2.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
bytecode_helper.py
cfgparser.1
cfgparser.2
cfgparser.3
cmath_testcases.txt
coding20731.py
curses_tests.py
datetimetester.py bpo-29953: Fix memory leaks in the replace() method of datetime and time (#927) 2017-03-31 22:48:16 +03:00
dh1024.pem
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
final_a.py
final_b.py
floating_points.txt
fork_wait.py
formatfloat_testcases.txt
future_test1.py
future_test2.py
gdb_sample.py
ieee754.txt
imp_dummy.py
inspect_fodder.py
inspect_fodder2.py
keycert.passwd.pem
keycert.pem
keycert2.pem
keycert3.pem
keycert4.pem
list_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
lock_tests.py
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
mapping_tests.py
math_testcases.txt
memory_watchdog.py
mime.types
mock_socket.py
mod_generics_cache.py bpo-28556: Various updates to typing (#28) 2017-02-13 13:50:14 -08: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 Issue #28992: Use bytes.fromhex(). 2016-12-21 12:59:28 +02:00
nokia.pem
nullbytecert.pem
nullcert.pem
outstanding_bugs.py
pickletester.py
profilee.py
pstats.pck
pycacert.pem
pycakey.pem
pyclbr_input.py
pydoc_mod.py
pydocfodder.py
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
sample_doctest.py
sample_doctest_no_docstrings.py
sample_doctest_no_doctests.py
selfsigned_pythontestdotnet.pem
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
sha256.pem
signalinterproctester.py
sortperf.py
ssl_cert.pem
ssl_key.passwd.pem
ssl_key.pem
ssl_servers.py bpo-29919: Remove unused imports found by pyflakes (#137) 2017-03-27 16:05:26 +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
test___all__.py Issues #29273: Merge test___all__ from 3.5 2017-01-23 22:59:03 +00:00
test___future__.py
test__locale.py
test__opcode.py
test__osx_support.py
test_abc.py bpo-29919: Remove unused imports found by pyflakes (#137) 2017-03-27 16:05:26 +02:00
test_abstract_numbers.py
test_aifc.py bpo-29110: add test for Aifc_write. (GH-293) 2017-02-26 21:11:58 +09:00
test_argparse.py Issue #29290: Merge 3.5. 2017-01-22 14:39:20 +08:00
test_array.py bpo-28298: make array 'Q', 'L' and 'I' accept big intables as elements (#570) 2017-03-09 11:35:28 +02:00
test_asdl_parser.py
test_ast.py bpo-29637: clean docstring only if not None (GH-267) 2017-02-24 15:44:19 +09:00
test_asyncgen.py bpo-29919: Remove unused imports found by pyflakes (#137) 2017-03-27 16:05:26 +02:00
test_asynchat.py
test_asyncore.py bpo-30106: Fix test_asyncore.test_quick_connect() (#1234) 2017-04-21 13:51:53 +02:00
test_atexit.py bpo-29845: Mark tests that use _testcapi as CPython-only (#711) 2017-03-19 20:20:10 +02:00
test_audioop.py
test_augassign.py
test_base64.py Add Python version since deprecation in base64 methods. (#33) 2017-03-02 17:21:26 +03:00
test_baseexception.py Rename test_pep####.py files 2016-09-09 12:55:37 -07:00
test_bigaddrspace.py
test_bigmem.py
test_binascii.py bpo-30103: Allow Uuencode in Python using backtick as zero instead of space (#1326) 2017-05-03 11:16:21 +08:00
test_binhex.py
test_binop.py bpo-29919: Remove unused imports found by pyflakes (#137) 2017-03-27 16:05:26 +02: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
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-29839: Raise ValueError rather than OverflowError in len() for negative values. (#701) 2017-04-16 09:37:18 +03:00
test_bytes.py bpo-20552: Use specific asserts in bytes tests (#790) 2017-03-27 12:59:07 +02:00
test_bz2.py Remove unused imports. 2016-12-16 20:00:15 +02:00
test_calendar.py Issue #28255: calendar.TextCalendar.prweek() no longer prints a space after 2016-10-25 15:20:58 +03:00
test_call.py
test_capi.py bpo-30184: Add tests for invalid use of PyArg_ParseTupleAndKeywords. (#1316) 2017-05-04 00:03:23 +03:00
test_cgi.py bpo-29979: Rewrite cgi.parse_multipart to make it consistent with FieldStorage (#991) 2017-05-08 05:08:34 -07:00
test_cgitb.py
test_charmapcodec.py
test_class.py
test_cmath.py
test_cmd.py Remove unused imports. 2016-12-16 20:00:15 +02:00
test_cmd_line.py Remove unused imports. 2016-12-16 20:00:15 +02:00
test_cmd_line_script.py bpo-29723: Consistently configure sys.path[0] (#575) 2017-03-12 20:38:32 +10:00
test_code.py Issue #28350: String constants with null character no longer interned. 2016-10-04 18:17:22 +03:00
test_code_module.py
test_codeccallbacks.py
test_codecencodings_cn.py bpo-29990: Fix range checking in GB18030 decoder (#1495) 2017-05-09 11:38:32 +08:00
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 Issue #25270: Merge from 3.5 2016-09-16 17:32:06 +03:00
test_codeop.py
test_collections.py bpo-29919: Remove unused imports found by pyflakes (#137) 2017-03-27 16:05:26 +02:00
test_colorsys.py
test_compare.py
test_compile.py Issue #29337: Fixed possible BytesWarning when compare the code objects. 2017-01-24 20:54:07 +02:00
test_compileall.py Issue #28226: Fix test_compileall on Windows 2016-10-01 02:44:37 +03:00
test_complex.py bpo-29894: Deprecate returning an instance of complex subclass from __complex__. (#798) 2017-03-24 21:28:43 +02:00
test_concurrent_futures.py
test_configparser.py bpo-29623: Make PathLike objects work with ConfigParser.read() (#242) 2017-03-03 20:14:27 +03:00
test_contains.py
test_contextlib.py bpo-29692: contextlib.contextmanager may incorrectly unchain RuntimeError (GH-949) 2017-04-11 19:11:13 +10:00
test_contextlib_async.py bpo-29679: Implement @contextlib.asynccontextmanager (#360) 2017-04-30 18:25:58 -07:00
test_copy.py
test_copyreg.py
test_coroutines.py bpo-29845: Mark tests that use _testcapi as CPython-only (#711) 2017-03-19 20:20:10 +02:00
test_cprofile.py
test_crashers.py
test_crypt.py
test_csv.py Issue #18219: Optimize csv.DictWriter for large number of columns. 2016-10-21 19:47:57 +09:00
test_ctypes.py
test_curses.py test_curses - substitute self.skip() with self.skipTest() 2017-01-06 09:50:27 +01:00
test_datetime.py
test_dbm.py
test_dbm_dumb.py Remove unused imports. 2016-12-16 20:00:15 +02:00
test_dbm_gnu.py
test_dbm_ndbm.py
test_decimal.py bpo-29919: Remove unused imports found by pyflakes (#137) 2017-03-27 16:05:26 +02:00
test_decorators.py
test_defaultdict.py Issue #28145: Spelling fixes 2016-09-16 00:46:05 +00:00
test_deque.py bpo-29919: Remove unused imports found by pyflakes (#137) 2017-03-27 16:05:26 +02:00
test_descr.py bpo-29914: Fix default implementations of __reduce__ and __reduce_ex__(). (#843) 2017-04-08 09:52:59 +03:00
test_descrtut.py
test_devpoll.py
test_dict.py Issue #28147: Fix a memory leak in split-table dictionaries 2016-12-20 09:54:24 +09:00
test_dict_version.py Rename test_pep####.py files 2016-09-09 12:55:37 -07:00
test_dictcomps.py
test_dictviews.py bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263) 2017-04-24 09:05:00 +03:00
test_difflib.py
test_difflib_expect.html
test_dis.py bpo-22352: Adjust widths in the output of dis.dis() for large line numbers and (#1153) 2017-04-19 20:36:31 +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 Issue #28662: Catch PermissionError in tests when spawning a non existent program 2016-11-14 17:14:42 +01:00
test_dummy_thread.py bpo-6532: Make the thread id an unsigned integer. (#781) 2017-03-23 14:48:39 +01:00
test_dummy_threading.py
test_dynamic.py
test_dynamicclassattribute.py
test_eintr.py
test_ensurepip.py Allow ensurepip even when ssl is unavailable 2016-11-02 20:32:37 -04:00
test_enum.py issue29167: fix race condition in (Int)Flag 2017-01-24 12:13:34 -08:00
test_enumerate.py
test_eof.py
test_epoll.py Issue #20100: Simplify newPyEpoll_Object() 2016-09-26 23:30:41 +03:00
test_errno.py
test_exception_hierarchy.py Rename test_pep####.py files 2016-09-09 12:55:37 -07:00
test_exception_variations.py
test_exceptions.py bpo-29951: Include function name for some error messages in `PyArg_ParseTuple*` (#916) 2017-04-09 10:47:12 +03:00
test_extcall.py Issue #28257: Improved error message when pass a non-mapping as a var-keyword 2016-10-07 23:32:41 +03:00
test_faulthandler.py bpo-30125: Fix faulthandler.disable() on Windows (#1240) 2017-04-21 18:06:13 +02:00
test_fcntl.py
test_file.py
test_file_eintr.py
test_filecmp.py
test_fileinput.py
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
test_float.py bpo-29773: Add more cases for testing string to float conversion errors. (#580) 2017-03-09 20:07:58 +02:00
test_flufl.py
test_fnmatch.py Issue #22493: Inline flags now should be used only at the start of the 2016-09-11 12:50:02 +03:00
test_fork1.py
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
test_frame.py Remove unused imports. 2016-12-16 20:00:15 +02:00
test_fstring.py Issue #28739: f-string expressions no longer accepted as docstrings and 2016-12-11 19:37:19 +02:00
test_ftplib.py Issue #28022: Deprecate ssl-related arguments in favor of SSLContext. 2016-09-10 23:23:33 +02:00
test_funcattrs.py
test_functools.py bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263) 2017-04-24 09:05:00 +03:00
test_future.py Issue #28512: Fixed setting the offset attribute of SyntaxError by 2016-12-11 14:43:18 +02:00
test_future3.py
test_future4.py
test_future5.py
test_gc.py
test_gdb.py Issue #29263: LOAD_METHOD support for C methods 2017-02-03 07:43:03 +09:00
test_generator_stop.py Rename test_pep####.py files 2016-09-09 12:55:37 -07:00
test_generators.py bpo-30039: Don't run signal handlers while resuming a yield from stack (#1081) 2017-05-17 13:33:23 -07:00
test_genericpath.py Issue #28759: Fix the tests that fail with PermissionError when run as 2016-12-13 10:00:01 +01:00
test_genexps.py
test_getargs2.py bpo-29951: Include function name for some error messages in `PyArg_ParseTuple*` (#916) 2017-04-09 10:47:12 +03:00
test_getopt.py
test_getpass.py
test_gettext.py bpo-28692: Deprecate using non-integer value for selecting a plural form in gettext. (#507) 2017-03-12 13:15:01 +02:00
test_glob.py
test_global.py Issue #28512: Fixed setting the offset attribute of SyntaxError by 2016-12-11 14:43:18 +02:00
test_grammar.py issue #28622: Remove redundant variable annotation test from test_grammar. Ivan L. 2016-11-06 18:25:39 -08:00
test_grp.py
test_gzip.py Issue #28227: gzip now supports pathlib 2016-10-02 13:47:58 +03:00
test_hash.py bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263) 2017-04-24 09:05:00 +03:00
test_hashlib.py Add test cases for internal SHA3 helpers 2016-09-23 11:32:30 +02:00
test_heapq.py
test_hmac.py
test_html.py
test_htmlparser.py
test_http_cookiejar.py
test_http_cookies.py bpo-29919: Remove unused imports found by pyflakes (#137) 2017-03-27 16:05:26 +02:00
test_httplib.py Issue #28394: Merge typo fixes from 3.5 into 3.6 2016-10-10 00:28:38 +00:00
test_httpservers.py bpo-29654 : Support If-Modified-Since HTTP header (browser cache) (#298) 2017-04-02 13:26:12 +03:00
test_idle.py
test_imaplib.py bpo-30175: Skip client cert tests of test_imaplib (#1320) 2017-04-27 17:30:13 +02:00
test_imghdr.py Issue #28228: imghdr now supports pathlib 2016-10-01 05:01:54 +03:00
test_imp.py
test_index.py
test_inspect.py bpo-30149: Fix partialmethod without explicit self parameter (#1308) 2017-05-17 12:00:51 -07:00
test_int.py bpo-29695: Remove bad keyword parameters in int(), bool(), float(), list() and tuple(). (#518) 2017-03-06 17:01:06 +02:00
test_int_literal.py
test_io.py bpo-30107: don't dump core on expected test_io crash (#1235) 2017-04-21 17:59:23 +02:00
test_ioctl.py
test_ipaddress.py bpo-29931 fix __lt__ check in ipaddress.ip_interface for both v4 and v6. (#879) 2017-04-01 09:09:53 +03:00
test_isinstance.py Remove outdated tests in test_isinstance (GH-1393) 2017-05-02 10:17:18 -07:00
test_iter.py
test_iterlen.py
test_itertools.py bpo-29942: Fix the use of recursion in itertools.chain.from_iterable. (#889) 2017-03-30 09:58:35 -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
test_largefile.py
test_lib2to3.py
test_linecache.py
test_list.py bpo-29695: Remove bad keyword parameters in int(), bool(), float(), list() and tuple(). (#518) 2017-03-06 17:01:06 +02:00
test_listcomps.py
test_locale.py bpo-29972: Skip tests known to fail on AIX (#979) 2017-04-04 10:35:15 +02:00
test_logging.py bpo-30131: test_logging now joins queue threads (#1298) 2017-04-26 15:56:25 +02:00
test_long.py bpo-29816: Shift operation now has less opportunity to raise OverflowError. (#680) 2017-03-30 09:47:07 +03:00
test_longexp.py
test_lzma.py Issue #27517: LZMA compressor and decompressor no longer raise exceptions if 2016-10-31 08:31:13 +02:00
test_macpath.py bpo-9850: Deprecate the macpath module (#1540) 2017-05-15 11:01:21 +02:00
test_mailbox.py Issue #28764: Fix a test_mailbox failure on Android API 24 when run as a non-root user. 2016-12-12 09:55:57 +01: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
test_math.py bpo-29962: add math.remainder (#950) 2017-04-05 18:34:27 +01:00
test_memoryio.py Issue #23214: Implement optional BufferedReader, BytesIO read1() argument 2016-10-20 23:48:14 +00:00
test_memoryview.py
test_metaclass.py
test_mimetypes.py
test_minidom.py
test_mmap.py merge 3.5 2016-10-05 22:54:19 -07:00
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 bpo-30339: test_multiprocessing_main_handling timeout (#1593) 2017-05-15 18:14:42 +02:00
test_multiprocessing_spawn.py
test_netrc.py
test_nis.py
test_nntplib.py bpo-30175: Skip client cert tests of test_imaplib (#1320) 2017-04-27 17:30:13 +02:00
test_normalization.py bpo-29887: test_normalization handles PermissionError (#1196) 2017-04-20 02:39:59 +02:00
test_ntpath.py Issue #29197: Removed deprecated function ntpath.splitunc(). 2017-01-13 20:55:05 +02:00
test_numeric_tower.py
test_opcodes.py bpo-29463: Add docstring field to some AST nodes. (#46) 2017-02-22 16:31:59 +01:00
test_openpty.py
test_operator.py
test_optparse.py
test_ordered_dict.py Add OrderedDict test for PEP 468 (guaranteed ordered of kwargs) 2017-01-08 00:37:13 -08:00
test_os.py bpo-25996: Added support of file descriptors in os.scandir() on Unix. (#502) 2017-03-30 09:12:31 +03:00
test_ossaudiodev.py
test_osx_env.py
test_parser.py bpo-30070: Fixed leaks and crashes in errors handling in the parser module. (#1131) 2017-04-19 21:09:21 +03:00
test_pathlib.py bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263) 2017-04-24 09:05:00 +03:00
test_pdb.py Issue #20766: Merge with 3.5. 2016-10-12 20:16:05 +02:00
test_peepholer.py Remove unused imports. 2016-12-16 20:00:15 +02:00
test_pickle.py
test_pickletools.py
test_pipes.py
test_pkg.py
test_pkgimport.py
test_pkgutil.py
test_platform.py bpo-27593: Get SCM build info from git instead of hg. (#446) 2017-03-04 00:19:55 -05:00
test_plistlib.py bpo-29196: Removed old-deprecated classes Plist, Dict and _InternalDict (#488) 2017-05-15 13:21:31 +03:00
test_poll.py
test_popen.py
test_poplib.py Issue #28022: Deprecate ssl-related arguments in favor of SSLContext. 2016-09-10 23:23:33 +02:00
test_posix.py Issue #28759: Fix the tests that fail with PermissionError when run as 2016-12-13 10:00:01 +01:00
test_posixpath.py
test_pow.py Issue #29156: Remove superfluous pow test. 2017-01-04 18:53:00 +02:00
test_pprint.py
test_print.py
test_profile.py
test_property.py
test_pstats.py
test_pty.py
test_pulldom.py
test_pwd.py Issue #26856: Fix the tests assuming that the pwd module has getpwall() and 2016-12-13 09:11:38 +01:00
test_py_compile.py
test_pyclbr.py bpo-29776: Use decorator syntax for properties. (#585) 2017-03-19 08:40:32 +02:00
test_pydoc.py bpo-29919: Remove unused imports found by pyflakes (#137) 2017-03-27 16:05:26 +02:00
test_pyexpat.py
test_queue.py
test_quopri.py
test_raise.py bpo-20548: Use specific asserts in warnings and exceptions tests (#788) 2017-03-30 18:05:08 +03:00
test_random.py bpo-30308: Code coverage for argument in random.shuffle (#1504) 2017-05-11 08:19:35 -07:00
test_range.py bpo-28876: bool of large range raises OverflowError (#699) 2017-03-20 08:44:46 +02:00
test_re.py bpo-30375: Correct the stacklevel of regex compiling warnings. (#1595) 2017-05-16 15:16:15 +03:00
test_readline.py
test_regrtest.py bpo-30263: regrtest: log system load (#1452) 2017-05-04 15:21:12 +02:00
test_reprlib.py
test_resource.py Issue #20191: Fixed a crash in resource.prlimit() when pass a sequence that 2016-12-19 08:04:15 +02:00
test_richcmp.py
test_rlcompleter.py
test_robotparser.py Issue #25400: RobotFileParser now correctly returns default values for crawl_delay and request_rate 2016-09-18 20:17:58 +03:00
test_runpy.py
test_sax.py bpo-30264: ExpatParser closes the source on error (#1451) 2017-05-05 09:46:47 +02:00
test_sched.py Issue #5830: Add test for ee476248a74a. (Contributed by Serhiy Storchaka.) 2016-11-21 16:48:10 -08:00
test_scope.py
test_script_helper.py
test_secrets.py Issue #29061: secrets.randbelow() would hang with a negative input 2016-12-29 22:54:25 -07:00
test_select.py
test_selectors.py Issue #27759: Fix selectors incorrectly retain invalid file descriptors. 2016-10-06 14:03:03 -04:00
test_set.py Remove unused imports. 2016-12-16 20:00:15 +02:00
test_setcomps.py
test_shelve.py
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-30218: support path-like objects in shutil.unpack_archive() (GH-1367) 2017-05-05 14:27:12 -07:00
test_signal.py bpo-29919: Remove unused imports found by pyflakes (#137) 2017-03-27 16:05:26 +02:00
test_site.py bpo-29763: Clean up _pth tests (GH-954) 2017-05-14 15:49:46 -05:00
test_slice.py
test_smtpd.py
test_smtplib.py
test_smtpnet.py
test_sndhdr.py
test_socket.py Fix tests: getsockname() can return None on OS X on unbound sockets (#1400) 2017-05-02 23:48:26 +02:00
test_socketserver.py Use sequence repetition instead of bytes constructor with integer argument. 2016-09-11 14:41:02 +03:00
test_sort.py
test_source_encoding.py
test_spwd.py
test_sqlite.py
test_ssl.py bpo-30199: test_ssl closes all asyncore channels (#1381) 2017-05-02 13:12:02 +02:00
test_startfile.py
test_stat.py Issue #28759: Fix the tests that fail with PermissionError when run as 2016-12-13 10:00:01 +01: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
test_string.py Issue #29193: A format string argument for string.Formatter.format() 2017-01-13 09:10:51 +02:00
test_string_literals.py Fix warn_invalid_escape_sequence() 2016-11-15 09:12:10 +01:00
test_stringprep.py
test_strptime.py bpo-29972: Skip tests known to fail on AIX (#979) 2017-04-04 10:35:15 +02:00
test_strtod.py
test_struct.py bpo-29802: Fix reference counting in module-level struct functions (#1213) 2017-04-20 21:19:31 +03:00
test_structmembers.py
test_structseq.py
test_subclassinit.py Remove unused imports. 2016-12-16 20:00:15 +02:00
test_subprocess.py bpo-30065: Fixed arguments validation in _posixsubprocess.fork_exec(). (#1110) 2017-04-19 21:12:46 +03:00
test_sunau.py
test_sundry.py bpo-29836: Remove nturl2path from test_sundry and amend the module docstring (GH-694) 2017-03-17 11:16:20 -07:00
test_super.py Remove unused imports. 2016-12-16 20:00:15 +02:00
test_support.py bpo-30197: Enhance functions swap_attr() and swap_item() in test.support. (#1341) 2017-04-28 18:17:26 +02:00
test_symbol.py
test_symtable.py Issue #28512: Fixed setting the offset attribute of SyntaxError by 2016-12-11 14:43:18 +02:00
test_syntax.py Issue #26110: Add LOAD_METHOD/CALL_METHOD opcodes. 2016-12-13 19:03:51 -05:00
test_sys.py bpo-12414: Update code_sizeof() to take in account co_extra memory. (#1168) 2017-04-20 10:31:17 +03:00
test_sys_setprofile.py
test_sys_settrace.py
test_sysconfig.py Merge tests from 3.5 2017-01-14 06:26:51 +00:00
test_syslog.py
test_tarfile.py bpo-29958: Minor improvements to zipfile and tarfile CLI. (#944) 2017-04-07 18:56:12 +03:00
test_tcl.py
test_telnetlib.py
test_tempfile.py bpo-30197: Enhance functions swap_attr() and swap_item() in test.support. (#1341) 2017-04-28 18:17:26 +02:00
test_textwrap.py Issue #20491: The textwrap.TextWrapper class now honors non-breaking spaces. 2016-10-25 14:44:54 +03:00
test_thread.py bpo-30357: test_thread now uses threading_cleanup() (#1592) 2017-05-15 17:55:32 +02:00
test_threaded_import.py
test_threadedtempfile.py
test_threading.py bpo-30387: Fix warning in test_threading (#1634) 2017-05-17 11:58:50 -07:00
test_threading_local.py
test_threadsignals.py
test_time.py
test_timeit.py Remove unused imports. 2016-12-16 20:00:15 +02:00
test_timeout.py
test_tix.py
test_tk.py
test_tokenize.py Add ELLIPSIS and RARROW. Add tests (#666) 2017-03-14 21:16:15 +01:00
test_trace.py Issue #19398: Extra slash no longer added to sys.path components in case of 2016-11-11 12:06:38 +02:00
test_traceback.py Issue #25783: Fixed test_traceback when run directly (without regrtest). 2016-10-07 23:46:22 +03:00
test_tracemalloc.py bpo-29845: Mark tests that use _testcapi as CPython-only (#711) 2017-03-19 20:20:10 +02:00
test_ttk_guionly.py
test_ttk_textonly.py
test_tuple.py bpo-29695: Remove bad keyword parameters in int(), bool(), float(), list() and tuple(). (#518) 2017-03-06 17:01:06 +02:00
test_turtle.py
test_typechecks.py
test_types.py bpo:29950: Rename SlotWrapperType to WrapperDescriptorType (GH-926) 2017-04-25 21:26:36 +03:00
test_typing.py bpo-28556: Routine updates to typing (#1366) 2017-05-02 10:14:07 -07:00
test_ucn.py
test_unary.py
test_unicode.py bpo-29919: Remove unused imports found by pyflakes (#137) 2017-03-27 16:05:26 +02:00
test_unicode_file.py
test_unicode_file_functions.py Rename test_pep####.py files 2016-09-09 12:55:37 -07:00
test_unicode_identifiers.py Remove unused imports. 2016-12-16 20:00:15 +02:00
test_unicodedata.py Unicode 9.0.0 2016-09-14 23:53:47 -07:00
test_unittest.py
test_univnewlines.py
test_unpack.py
test_unpack_ex.py
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 support.threading_cleanup() log a warning on fail (#1195) 2017-04-20 13:40:08 +02:00
test_urllib2net.py
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 correct parse_qs and parse_qsl test case descriptions. (#968) 2017-04-04 21:19:43 -07:00
test_userdict.py
test_userlist.py
test_userstring.py
test_utf8source.py Rename test_pep####.py files 2016-09-09 12:55:37 -07:00
test_uu.py bpo-30103: Allow Uuencode in Python using backtick as zero instead of space (#1326) 2017-05-03 11:16:21 +08:00
test_uuid.py bpo-29925: Skip test_uuid1_safe() on OS X Tiger (#971) 2017-04-19 13:01:03 +02:00
test_venv.py Fixes #24875: Merged fix from 3.5. 2017-02-02 19:17:02 +00:00
test_wait3.py
test_wait4.py
test_wave.py
test_weakref.py Issue #28427: old keys should not remove new values from 2016-12-27 14:23:43 +01:00
test_weakset.py
test_webbrowser.py bpo-29645: Speed up importing the webbrowser module. (#484) 2017-03-08 17:15:54 +02:00
test_winconsoleio.py Issue #28164: Improves test on Windows 7 2017-02-06 14:50:17 -08:00
test_winreg.py Issue #25778: winreg does not truncase string correctly (Patch by Eryk Sun) 2016-12-17 13:30:27 -08:00
test_winsound.py Remove unused imports. 2016-12-16 20:00:15 +02:00
test_with.py Issue #27100: Silence deprecation warning in Lib/test/test_with.py 2016-11-24 10:50:34 -08:00
test_wsgiref.py Use sequence repetition instead of bytes constructor with integer argument. 2016-09-11 14:41:02 +03:00
test_xdrlib.py
test_xml_dom_minicompat.py
test_xml_etree.py bpo-29204: Emit warnings for already deprecated ElementTree features. (#773) 2017-03-30 18:12:06 +03:00
test_xml_etree_c.py bpo-29204: Emit warnings for already deprecated ElementTree features. (#773) 2017-03-30 18:12:06 +03:00
test_xmlrpc.py Change assertRaises to assertRaisesRegex in test_xmlrpc (#481) 2017-03-05 19:27:06 +02:00
test_xmlrpc_net.py
test_yield_from.py Remove unused imports. 2016-12-16 20:00:15 +02:00
test_zipapp.py
test_zipfile.py bpo-30017: Allowed calling the close() method of the zip entry writer object (#1041) 2017-04-12 16:03:23 +03:00
test_zipfile64.py bpo-29919: Remove unused imports found by pyflakes (#137) 2017-03-27 16:05:26 +02:00
test_zipimport.py Issue #28131: Merge from 3.5 2016-09-14 08:10:45 +03:00
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
wrongcert.pem
xmltests.py
zip_cp437_header.zip
zipdir.zip