cpython/Lib/test
Victor Stinner 8f437aac06 Issue #22290: Fix error handling in the _posixsubprocess module.
* Don't call the garbage collector with an exception set: it causes an
  assertion to fail in debug mode.
* Enhance also error handling if allocating an array for the executable list
  failed.
* Add an unit test for 4 different errors in the _posixsubprocess module.
2014-10-05 17:25:19 +02:00
..
audiodata
capath
cjkencodings
crashers
data
decimaltestdata
encoded_modules
imghdrdata
leakers
sndhdrdata
subprocessdata
support Issue #22002: Make full use of test discovery in test sub-packages. 2014-07-23 12:00:29 -05:00
test_asyncio asyncio.test_tasks: Fix test_env_var_debug to use correct asyncio module 2014-09-25 19:12:10 -04:00
test_email #21091: make is_attachment a method. 2014-09-20 18:05:28 -04:00
test_importlib Issue #22002: Make full use of test discovery in test sub-packages. 2014-07-23 12:00:29 -05:00
test_json Issue #22002: Make full use of test discovery in test sub-packages. 2014-07-23 12:00:29 -05:00
test_tools Issue #22002: Make full use of test discovery in test sub-packages. 2014-07-23 12:00:29 -05:00
tracedmodules
xmltestdata
185test.db
Sine-1000Hz-300ms.aif
__init__.py
__main__.py
_test_multiprocessing.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
buffer_tests.py
bytecode_helper.py
cfgparser.1
cfgparser.2
cfgparser.3
check_soundcard.vbs
cmath_testcases.txt
coding20731.py
curses_tests.py
datetimetester.py Issue #22044: Fixed premature DECREF in call_tzinfo_method. 2014-07-25 14:59:48 -07:00
dh512.pem
dis_module.py
doctest_aliases.py
double_const.py
empty.vbs
exception_hierarchy.txt
final_a.py
final_b.py
floating_points.txt
fork_wait.py
formatfloat_testcases.txt
future_test1.py
future_test2.py
gdb_sample.py
https_svn_python_org_root.pem
ieee754.txt
inspect_fodder.py
inspect_fodder2.py
keycert.passwd.pem
keycert.pem
keycert2.pem
keycert3.pem
keycert4.pem
list_tests.py
lock_tests.py
mailcap.txt
make_ssl_certs.py Issue #22074: Fix Lib/test/make_ssl_certs.py 2014-07-26 11:15:52 -04:00
mapping_tests.py
math_testcases.txt
memory_watchdog.py
mime.types
mock_socket.py
mp_fork_bomb.py
multibytecodec_support.py Issue #18258: Fix test discovery for test_codecmaps_*. 2014-07-01 19:55:04 -05: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 don't remove self from example code in the HTML output (closes #13223) 2014-06-07 16:44:00 -07:00
pydocfodder.py
pystone.py Issue #21634: Fix pystone micro-benchmark: use floor division instead of true 2014-06-02 14:16:44 +02:00
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
regrtest.py Issue #22104: Don't hold a reference to the loaded TestSuite in runtest_inner 2014-08-04 11:15:10 -05:00
relimport.py
reperf.py
revocation.crl
sample_doctest.py
sample_doctest_no_docstrings.py
sample_doctest_no_doctests.py
script_helper.py Issue #21770: Call function instead of module. Patch by Claudiu Popa. 2014-06-20 17:49:10 -04:00
seq_tests.py
sgml_input.html
sha256.pem
sortperf.py
ssl_cert.pem
ssl_key.passwd.pem
ssl_key.pem
ssl_servers.py
ssltests.py
string_tests.py check that exception messages are not empty (#22379) 2014-09-28 12:56:42 -04:00
test___all__.py
test___future__.py
test__locale.py
test__opcode.py
test__osx_support.py Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite. 2014-06-25 13:36:14 -07:00
test_abc.py
test_abstract_numbers.py
test_aifc.py
test_argparse.py #11955: show the list of args in case of error in test_argparse. 2014-08-05 02:24:03 +03:00
test_array.py
test_ast.py
test_asynchat.py Issue #16133: The asynchat.async_chat.handle_read() method now ignores 2014-07-24 18:49:36 +02:00
test_asyncore.py Issue #11453, #18174: Fix leak of file descriptor in test_asyncore 2014-07-29 01:01:09 +02:00
test_atexit.py
test_audioop.py
test_augassign.py
test_base64.py
test_bigaddrspace.py
test_bigmem.py
test_binascii.py
test_binhex.py
test_binop.py
test_bisect.py
test_bool.py
test_buffer.py
test_bufio.py
test_builtin.py
test_bytes.py check that exception messages are not empty (#22379) 2014-09-28 12:56:42 -04:00
test_bz2.py
test_calendar.py
test_call.py
test_capi.py
test_cgi.py
test_cgitb.py
test_charmapcodec.py
test_class.py
test_cmath.py
test_cmd.py Issue #14235: Use importlib.reload() in test_cmd.test_coverage. 2014-06-30 04:04:52 +03:00
test_cmd_line.py
test_cmd_line_script.py Issue #21425: Fix flushing of standard streams in the interactive interpreter. 2014-05-11 13:42:17 +02:00
test_code.py
test_code_module.py - Issue #17756: Fix test_code test when run from the installed location. 2014-05-13 11:28:12 +02:00
test_codeccallbacks.py
test_codecencodings_cn.py
test_codecencodings_hk.py
test_codecencodings_iso2022.py
test_codecencodings_jp.py
test_codecencodings_kr.py
test_codecencodings_tw.py
test_codecmaps_cn.py Issue #18258: Fix test discovery for test_codecmaps_*. 2014-07-01 19:55:04 -05:00
test_codecmaps_hk.py Issue #18258: Fix test discovery for test_codecmaps_*. 2014-07-01 19:55:04 -05:00
test_codecmaps_jp.py Issue #18258: Fix test discovery for test_codecmaps_*. 2014-07-01 19:55:04 -05:00
test_codecmaps_kr.py Issue #18258: Fix test discovery for test_codecmaps_*. 2014-07-01 19:55:04 -05:00
test_codecmaps_tw.py Issue #18258: Fix test discovery for test_codecmaps_*. 2014-07-01 19:55:04 -05:00
test_codecs.py Issue #22166: clear codec caches in test_codecs 2014-09-15 23:50:44 +12:00
test_codeop.py
test_collections.py Issue 8743: Improve interoperability between sets and the collections.Set abstract base class. 2014-05-26 00:09:04 -07:00
test_colorsys.py
test_compare.py
test_compile.py Issue #22221: Add tests for compile() with source encoding cookie. 2014-09-05 11:00:56 +03:00
test_compileall.py
test_complex.py
test_concurrent_futures.py
test_configparser.py
test_contains.py
test_contextlib.py
test_copy.py
test_copyreg.py
test_cprofile.py
test_crashers.py
test_crypt.py
test_csv.py
test_ctypes.py Issue #22060: Clean up/simplify test_ctypes, use test discovery 2014-08-08 13:32:16 -05:00
test_curses.py Issue #21088: Bugfix for curses.window.addch() regression in 3.4.0. 2014-05-04 04:41:18 -07:00
test_datetime.py
test_dbm.py
test_dbm_dumb.py make operations on closed dumb databases raise a consistent exception (closes #19385) 2014-04-26 16:56:52 -04:00
test_dbm_gnu.py
test_dbm_ndbm.py
test_decimal.py Issue #22090: Fix '%' formatting for infinities and NaNs. 2014-08-26 20:46:49 +02:00
test_decorators.py
test_defaultdict.py
test_deque.py
test_descr.py Issue #21768: fix NameError in test_pydescr. Patch by Claudiu Popa. 2014-06-20 15:16:35 -04:00
test_descrtut.py
test_devpoll.py Closes issue #21316: mark test_devpoll to be meaningfull only for Solaris 2014-04-29 18:18:37 +02:00
test_dict.py
test_dictcomps.py
test_dictviews.py
test_difflib.py Issue 21635: Fix caching in difflib.SequenceMatcher.get_matching_blocks(). 2014-06-21 11:57:36 -07:00
test_difflib_expect.html
test_dis.py
test_distutils.py
test_doctest.py #8473: Add tests that doctest uses universal newlines in testfile. 2014-10-02 22:42:42 -04:00
test_doctest.txt
test_doctest2.py
test_doctest2.txt
test_doctest3.txt
test_doctest4.txt
test_docxmlrpc.py
test_dummy_thread.py
test_dummy_threading.py
test_dynamic.py
test_dynamicclassattribute.py
test_ensurepip.py use the called property of the run_pip mock rather than an assertion method that doesn't exist 2014-04-16 16:06:39 -04:00
test_enum.py Issue #21773: Fix TestStdLib.test_pydoc() of test_enum. Patch written by 2014-06-16 22:48:43 +02:00
test_enumerate.py
test_eof.py
test_epoll.py
test_errno.py
test_exception_variations.py
test_exceptions.py
test_extcall.py
test_faulthandler.py faulthandler: test_gil_released() now uses _sigsegv() instead of _read_null(), 2014-09-30 13:54:14 +02:00
test_fcntl.py
test_file.py
test_file_eintr.py
test_filecmp.py Issue #21445: Pass exception messages correctly to assertTrue in 2014-08-14 08:34:32 +03:00
test_fileinput.py Issue #21075: fileinput.FileInput now reads bytes from standard stream if 2014-05-14 21:08:33 +03:00
test_fileio.py
test_finalization.py
test_float.py
test_flufl.py
test_fnmatch.py
test_fork1.py
test_format.py
test_fractions.py
test_frame.py Issue #21897: Fix a crash with the f_locals attribute with closure variables when frame.clear() has been called. 2014-07-04 20:24:13 -04:00
test_ftplib.py
test_funcattrs.py
test_functools.py Issue 22184: Early detection and reporting of missing lru_cache parameters 2014-08-12 12:44:52 -07:00
test_future.py
test_future3.py
test_future4.py
test_future5.py
test_gc.py Issue #21435: Segfault in gc with cyclic trash 2014-05-08 17:42:19 -05:00
test_gdb.py Closes #22188: test_gdb now runs gdb with -nx: "Do not execute commands from 2014-08-16 14:38:02 +02:00
test_generators.py
test_genericpath.py
test_genexps.py
test_getargs2.py
test_getopt.py
test_getpass.py #21169: fix getpass to use replace error handler on UnicodeEncodeError. 2014-04-13 22:07:39 -04:00
test_gettext.py test_gettext: use support.rmtree() instead of shutil.rmtree() 2014-07-24 12:07:45 +02:00
test_glob.py
test_global.py
test_grammar.py Issue #21669: Special case print & exec syntax errors 2014-06-16 19:48:02 +10:00
test_grp.py
test_gzip.py
test_hash.py
test_hashlib.py
test_heapq.py
test_hmac.py
test_html.py
test_htmlparser.py
test_http_cookiejar.py
test_http_cookies.py Lax cookie parsing in http.cookies could be a security issue when combined 2014-09-17 00:23:55 +02:00
test_httplib.py Issue #7776: Fix ``Host:'' header and reconnection when using http.client.HTTPConnection.set_tunnel(). 2014-04-14 13:07:56 -04:00
test_httpservers.py Issue #22165: Fixed test_undecodable_filename on Mac OS. 2014-08-17 16:57:39 +03:00
test_idle.py Issue #18492: Allow all resources when tests are not run by regrtest.py. 2014-06-02 16:01:29 -05:00
test_imaplib.py Issue #18492: Allow all resources when tests are not run by regrtest.py. 2014-06-02 16:01:29 -05:00
test_imghdr.py
test_imp.py
test_import.py Issue #19593: Use specific asserts in importlib tests. 2014-07-07 14:08:19 +03:00
test_index.py
test_inspect.py #12780: update inspect test skipIf for PEP 3147. 2014-10-03 11:15:38 -04:00
test_int.py
test_int_literal.py
test_io.py merge 3.3 (#22517) 2014-09-29 22:48:51 -04:00
test_ioctl.py
test_ipaddress.py
test_isinstance.py
test_iter.py
test_iterlen.py
test_itertools.py allow test to work on implementations not using ref-counting (closes #22265) 2014-08-24 18:07:28 -05:00
test_keyword.py
test_keywordonlyarg.py
test_kqueue.py
test_largefile.py
test_lib2to3.py
test_linecache.py
test_list.py
test_listcomps.py
test_locale.py Issue #20079: Fixed tests. 2014-10-02 11:36:12 +03:00
test_logging.py Issue #22386: fixed regression. 2014-09-11 23:06:09 +01:00
test_long.py Issue #21422: Add a test to check that bool << int and bool >> int return an int 2014-05-12 22:35:40 +02:00
test_longexp.py
test_lzma.py
test_macpath.py Issue #9850: Fixed macpath.join() for empty first component. Patch by 2014-09-27 18:53:23 +03:00
test_macurl2path.py
test_mailbox.py Issue #20729: Restored the use of lazy iterkeys()/itervalues()/iteritems() 2014-08-13 09:35:21 +03:00
test_mailcap.py
test_marshal.py
test_math.py
test_memoryio.py
test_memoryview.py
test_metaclass.py
test_mimetypes.py
test_minidom.py Issue #21774: Fix incorrect variable in xml.dom.minidom 2014-06-15 14:48:19 -07:00
test_mmap.py Fixed typo. 2014-08-19 18:20:23 +03:00
test_module.py
test_modulefinder.py Issue #21707: Fix tests on Windows. 2014-07-07 21:29:50 +03:00
test_msilib.py
test_multibytecodec.py
test_multiprocessing_fork.py
test_multiprocessing_forkserver.py
test_multiprocessing_main_handling.py Issue #22332: test_multiprocessing_main_handling is now skipped if sem_open 2014-09-03 23:48:08 +02:00
test_multiprocessing_spawn.py
test_netrc.py
test_nis.py
test_nntplib.py Issue #22247: Add NNTPError to nntplib.__all__. 2014-09-20 08:53:05 +03:00
test_normalization.py
test_ntpath.py Issue #21493: Added test for ntpath.expanduser(). Original patch by 2014-05-28 18:11:29 +03:00
test_numeric_tower.py
test_opcodes.py
test_openpty.py
test_operator.py
test_optparse.py #1704474: mark refleak test as specific to CPython 2014-04-15 16:44:43 -04:00
test_os.py Issue #21207: Detect when the os.urandom cached fd has been closed or replaced, and open it anew. 2014-04-26 14:33:03 +02:00
test_ossaudiodev.py
test_osx_env.py
test_parser.py
test_pathlib.py Issue #19811, #22022: test_pathlib uses support.rmtree() instead of 2014-07-21 19:19:05 +02:00
test_pdb.py Issue #20746: Fix test_pdb to run in refleak mode (-R). Patch by Xavier de Gaye. 2014-08-11 21:40:38 -04:00
test_peepholer.py
test_pep247.py
test_pep277.py Fix sporadic failure of test_pep277 on Windows: use support.rmtree() instead of 2014-07-29 00:40:50 +02:00
test_pep292.py
test_pep352.py
test_pep380.py fix sending tuples to custom generator objects with yield from (closes #21209) 2014-04-13 23:52:01 -04:00
test_pep3120.py
test_pep3131.py
test_pep3151.py
test_pickle.py
test_pickletools.py
test_pipes.py
test_pkg.py
test_pkgimport.py
test_pkgutil.py Issue #14710: Fix both pkgutil.find_loader() and get_loader() to not 2014-05-23 12:30:37 -04:00
test_platform.py
test_plistlib.py Issue #21888: plistlib's load() and loads() now work if the fmt parameter is 2014-07-23 18:49:31 +03:00
test_poll.py
test_popen.py
test_poplib.py
test_posix.py Closes #11279: test_posix and lack of "id -G" support - less noise required? (Solaris) 2014-06-28 18:39:35 +02:00
test_posixpath.py Issue #22034: Got rid of misleading error message for bytearray arguments in 2014-08-24 12:18:09 +03:00
test_pow.py
test_pprint.py
test_print.py
test_profile.py
test_property.py
test_pstats.py
test_pty.py
test_pulldom.py
test_pwd.py
test_py_compile.py Remove unused imports. 2014-09-01 12:33:12 +03:00
test_pyclbr.py
test_pydoc.py Merge from 3.3 2014-09-17 13:19:01 +08:00
test_pyexpat.py
test_queue.py
test_quopri.py
test_raise.py
test_random.py Issue 13355: Make random.triangular degrade gracefully when low == high. 2014-05-25 17:25:27 -07:00
test_range.py
test_re.py Fixed bytes literals in tests. 2014-09-23 23:04:21 +03:00
test_readline.py Issue #19884: readline: Disable the meta modifier key if stdout is not a 2014-07-24 12:23:56 +02:00
test_regrtest.py
test_reprlib.py
test_resource.py
test_richcmp.py
test_rlcompleter.py
test_robotparser.py Issue #20753: Skip PasswordProtectedSiteTestCase when Python is built without threads. 2014-06-29 15:54:56 +03:00
test_runpy.py
test_sax.py
test_sched.py
test_scope.py
test_select.py
test_selectors.py Issue #21901: Cap the maximum number of file descriptors to use for the test. 2014-07-22 21:25:03 +01:00
test_set.py
test_setcomps.py
test_shelve.py
test_shlex.py
test_shutil.py Issue #20056: Fixed deprecation warning about bytes path in test_shutil on 2014-08-07 19:38:37 +03:00
test_signal.py Fix printing out error message when test fails and run with -bb 2014-05-11 19:05:23 +02:00
test_site.py - Issue #21223: Pass test_site/test_startup_imports when some of the extensions 2014-04-15 20:37:54 +02:00
test_slice.py
test_smtpd.py
test_smtplib.py #22215: have the smtplib 'quit' command reset the state. 2014-08-30 16:51:59 -04:00
test_smtpnet.py Issue #20957: test_smtpnet now uses support.transient_internet() to call 2014-09-04 00:35:43 +02:00
test_sndhdr.py
test_socket.py Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError 2014-07-26 14:36:55 +02:00
test_socketserver.py
test_sort.py
test_source_encoding.py
test_spwd.py Issue #19925: Added tests for the spwd module. Original patch by Vajrasky Kok. 2014-05-25 16:21:45 +03:00
test_sqlite.py
test_ssl.py separate cert loading tests into Windows and non-Windows cases 2014-10-03 18:17:15 -04:00
test_startfile.py
test_stat.py
test_statistics.py Issue #16056: Rename test method in test_statistics to avoid conflict. 2014-09-24 15:03:25 +03:00
test_strftime.py
test_string.py Issue #13598: Add auto-numbering of replacement fields to string.Formatter. 2014-04-14 16:43:50 -04:00
test_stringprep.py
test_strlit.py
test_strptime.py
test_strtod.py
test_struct.py
test_structmembers.py
test_structseq.py
test_subprocess.py Issue #22290: Fix error handling in the _posixsubprocess module. 2014-10-05 17:25:19 +02:00
test_sunau.py
test_sundry.py
test_super.py
test_support.py
test_symtable.py
test_syntax.py
test_sys.py Closes #22205: sys._debugmallocstats is a cpython specific feature, so 2014-08-16 14:11:01 +02:00
test_sys_setprofile.py
test_sys_settrace.py
test_sysconfig.py
test_syslog.py
test_tarfile.py Issue #21440: Backport changeset 4ebf97299b18 to branch 3.4, use 2014-09-04 00:49:01 +02:00
test_tcl.py Issue #21951: Fixed a crash in Tkinter on AIX when called Tcl command with 2014-09-11 10:57:13 +03:00
test_telnetlib.py
test_tempfile.py Issue #22427: TemporaryDirectory no longer attempts to clean up twice when 2014-09-24 13:26:25 +03:00
test_textwrap.py
test_thread.py
test_threaded_import.py
test_threadedtempfile.py
test_threading.py Issue #22423: Unhandled exception in thread no longer causes unhandled 2014-09-21 22:08:13 +03:00
test_threading_local.py
test_threadsignals.py
test_time.py
test_timeit.py
test_timeout.py
test_tk.py Issue #18492: Allow all resources when tests are not run by regrtest.py. 2014-06-02 16:01:29 -05:00
test_tokenize.py
test_trace.py
test_traceback.py
test_tracemalloc.py Issue #21639: Add a test to check that PyMem_Malloc(0) with tracemalloc enabled 2014-06-02 21:36:59 +02:00
test_ttk_guionly.py Issue #22236: Tkinter tests now don't reuse default root window. New root 2014-08-24 09:07:47 +03:00
test_ttk_textonly.py
test_tuple.py
test_typechecks.py
test_types.py Reverted 16efa8d27e4c after discussion with Eric. 2014-04-15 13:52:21 +01:00
test_ucn.py
test_unary.py
test_unicode.py Issue #12546: Allow \x00 as a fill character for builtin type __format__ methods. 2014-04-14 11:55:10 -04:00
test_unicode_file.py
test_unicodedata.py
test_unittest.py
test_univnewlines.py
test_unpack.py
test_unpack_ex.py
test_urllib.py Issue #19524: Fixed resource leak in the HTTP connection when an invalid 2014-09-06 21:41:39 +03:00
test_urllib2.py Issue #19524: Fixed resource leak in the HTTP connection when an invalid 2014-09-06 21:41:39 +03:00
test_urllib2_localnet.py Fix issue22245 - Fix urllib2_localnet test. 2014-08-22 16:26:21 +05:30
test_urllib2net.py Replace bad ftp URLs in test_urllib2net 2014-09-17 00:39:21 +02:00
test_urllib_response.py urllib.response object to use _TemporaryFileWrapper (and _TemporaryFileCloser) 2014-04-20 09:41:29 -07:00
test_urllibnet.py Invoke test_urllibnet tests using unittest.main function 2014-04-14 21:31:41 -04:00
test_urlparse.py
test_userdict.py
test_userlist.py
test_userstring.py check that exception messages are not empty (#22379) 2014-09-28 12:56:42 -04:00
test_uu.py
test_uuid.py
test_venv.py Issue #21643: Updated test and fixed logic bug in lib64 symlink creation. 2014-06-03 16:47:51 +01:00
test_wait3.py
test_wait4.py
test_warnings.py Issue #4180: The warnings registries are now reset when the filters are modified. 2014-09-18 02:40:46 +02:00
test_wave.py
test_weakref.py fix some test_weakref tests to not rely on ref-counting (closes #22267) 2014-08-24 18:02:15 -05:00
test_weakset.py
test_webbrowser.py
test_winreg.py Issue #21151: Fixed a segfault in the winreg module. 2014-07-03 10:58:06 -05:00
test_winsound.py
test_with.py
test_wsgiref.py Issue #22419: Limit the length of incoming HTTP request in wsgiref server to 65536 bytes. 2014-09-17 16:29:29 +08:00
test_xdrlib.py
test_xml_dom_minicompat.py
test_xml_etree.py
test_xml_etree_c.py
test_xmlrpc.py
test_xmlrpc_net.py
test_zipfile.py Issue #20912: Now directories added to ZIP file have correct Unix and MS-DOS 2014-09-23 22:40:23 +03:00
test_zipfile64.py Issue #21866: ZipFile.close() no longer writes ZIP64 central directory 2014-09-23 21:34:24 +03:00
test_zipimport.py
test_zipimport_support.py
test_zlib.py
testcodec.py
testtar.tar
tf_inherit_check.py
threaded_import_hangers.py
time_hashlib.py
tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt
tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt
tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt
tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt
tokenize_tests.txt
warning_tests.py
win_console_handler.py
xmltests.py
zip_cp437_header.zip
zipdir.zip