cpython/Lib/test
Éric Araujo 9bce311ea4 Add shlex.quote function, to escape filenames and command lines (#9723).
This function used to live as pipes.quote, where it was undocumented but
used anyway.  (An alias still exists for backward compatibility.)  The
tests have been moved as is, but the code of the function was changed to
use a regex instead of a loop with string comparisons (at Ian Bicking’s
suggestion).  I’m terrible at regexes, so any feedback is welcome.
2011-07-27 18:29:31 +02:00
..
capath
cjkencodings Issue #12057: Add tests for ISO 2022 codecs 2011-05-31 00:01:24 +02:00
crashers
data Issue #12497: Install test/data to prevent failures of the various codecmaps 2011-07-04 19:06:20 -07:00
decimaltestdata Issue #12080: Fix a performance issue in Decimal._power_exact that causes some corner-case Decimal.__pow__ calls to take an unreasonably long time. 2011-06-04 18:14:23 +01:00
encoded_modules
json_tests #5723: merge with 3.1. 2011-05-14 06:47:51 +03:00
leakers
sndhdrdata
subprocessdata
test_email #665194: support roundtripping RFC2822 date stamps in the email.utils module 2011-07-20 11:41:21 -04:00
tracedmodules
xmltestdata
185test.db
Sine-1000Hz-300ms.aif
__init__.py
__main__.py
audiotest.au
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_pep3120.py
buffer_tests.py
cfgparser.1
cfgparser.2
cfgparser.3
check_soundcard.vbs
cmath_testcases.txt
curses_tests.py
datetimetester.py
dis_module.py
doctest_aliases.py
double_const.py
empty.vbs
exception_hierarchy.txt
floating_points.txt
fork_wait.py Issue #12041: Make test_wait3 more robust. 2011-05-09 21:17:02 +02:00
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.pem
keycert2.pem
list_tests.py
lock_tests.py Close #12028: Make threading._get_ident() public, rename it to 2011-05-30 23:02:52 +02:00
make_ssl_certs.py
mapping_tests.py
math_testcases.txt Fix nonunique test ids in math_testcases.txt. 2011-05-09 08:18:57 +01:00
mock_socket.py
nullcert.pem
outstanding_bugs.py
pickletester.py
profilee.py
pstats.pck
pyclbr_input.py
pydoc_mod.py
pydocfodder.py
pystone.py
randv2_32.pck
randv2_64.pck
randv3.pck
re_tests.py
regex_tests.py
regrtest.py Issue #12624: It is now possible to fail after the first failure when 2011-07-23 22:37:52 +02:00
relimport.py
reperf.py
sample_doctest.py
script_helper.py
seq_tests.py
sgml_input.html
sha256.pem
sortperf.py
ssl_cert.pem
ssl_key.pem
ssl_servers.py
string_tests.py
support.py Issue #12624: It is now possible to fail after the first failure when 2011-07-23 22:37:52 +02:00
svn_python_org_https_cert.pem
test___all__.py
test___future__.py
test__locale.py
test_abc.py
test_abstract_numbers.py add tests for negative with conjugate 2011-05-30 19:22:53 -05:00
test_aifc.py
test_argparse.py #10424: argument names are now included in the missing argument message 2011-06-09 12:34:07 -04:00
test_array.py
test_ast.py merge 3.2 2011-07-22 10:55:02 -05:00
test_asynchat.py
test_asyncore.py
test_atexit.py Issue #10756: atexit normalizes the exception before displaying it. Patch by 2011-05-15 18:57:44 +02:00
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 values and types of (True/False).(imag/real) 2011-05-25 09:21:46 -05:00
test_bufio.py
test_builtin.py allow __dir__ to return any sequence 2011-06-11 16:12:08 -05:00
test_bytes.py
test_bz2.py Issue #12451: Open the test file in binary mode in test_bz2, the text file is 2011-06-30 18:25:07 +02:00
test_calendar.py
test_call.py
test_capi.py Issue #12407: Explicitly skip test_capi.EmbeddingTest under Windows. 2011-06-30 20:04:06 +02:00
test_cgi.py Add cgi.closelog() function to close the log file 2011-07-14 22:28:36 +02:00
test_cgitb.py Normalize whitespace for #11512 fix. 2011-07-05 19:16:37 -05:00
test_charmapcodec.py
test_class.py
test_cmath.py
test_cmd.py
test_cmd_line.py Merge #10206: add test for previously fixed bug. 2011-06-24 13:28:08 -04:00
test_cmd_line_script.py
test_code.py
test_codeccallbacks.py
test_codecencodings_cn.py Issue #12016: Multibyte CJK decoders now resynchronize faster 2011-07-08 01:45:13 +02:00
test_codecencodings_hk.py Issue #12016: Multibyte CJK decoders now resynchronize faster 2011-07-08 01:45:13 +02:00
test_codecencodings_iso2022.py Issue #12057: Add tests for ISO 2022 codecs 2011-05-31 00:01:24 +02:00
test_codecencodings_jp.py Issue #12016: Multibyte CJK decoders now resynchronize faster 2011-07-08 01:45:13 +02:00
test_codecencodings_kr.py Issue #12016: Multibyte CJK decoders now resynchronize faster 2011-07-08 01:45:13 +02:00
test_codecencodings_tw.py Issue #12016: Multibyte CJK decoders now resynchronize faster 2011-07-08 01:45:13 +02:00
test_codecmaps_cn.py
test_codecmaps_hk.py
test_codecmaps_jp.py
test_codecmaps_kr.py
test_codecmaps_tw.py Issue #12016: Multibyte CJK decoders now resynchronize faster 2011-07-08 01:45:13 +02:00
test_codecs.py Backport 0398f07d4827 (fix for weird buildbot failures) 2011-07-27 01:06:07 +02:00
test_codeop.py
test_coding.py
test_collections.py merge 2011-06-02 23:49:44 -07:00
test_colorsys.py
test_compare.py
test_compile.py try to use the same str object for all code filenames when compiling or unmarshalling (#12190) 2011-05-27 09:08:01 -05:00
test_compileall.py #11873: another try at fixing the regex, courtesy of Victor Stinner 2011-07-01 14:55:43 -04:00
test_complex.py
test_concurrent_futures.py Fix potential resource leaks in concurrent.futures.ProcessPoolExecutor 2011-07-16 01:13:34 +02:00
test_configparser.py
test_contains.py
test_contextlib.py
test_copy.py don't memoize objects that are their own copies (closes #12422) 2011-06-27 16:22:46 -05:00
test_copyreg.py
test_cprofile.py Issue #12400: test_cprofile now restores correctly the previous sys.stderr 2011-06-30 00:00:45 +02:00
test_crashers.py
test_crypt.py
test_csv.py Revert 76452b892838 as per http://mail.python.org/pipermail/python-dev/2011-July/112243.html. 2011-07-06 07:31:38 +02:00
test_ctypes.py
test_curses.py
test_datetime.py
test_dbm.py Issue #12451: Add support.create_empty_file() 2011-06-30 23:25:47 +02:00
test_dbm_dumb.py
test_dbm_gnu.py
test_dbm_ndbm.py
test_decimal.py Issue #12079: Decimal(0).fma(Decimal('inf'), 'not a number') should give a TypeError, not a Decimal.InvalidOperation 2011-05-22 12:53:18 +01:00
test_decorators.py
test_defaultdict.py
test_deque.py
test_descr.py Issue #11603: Fix a crash when __str__ is rebound as __repr__. 2011-07-15 21:18:18 +02:00
test_descrtut.py move specialized dir implementations into __dir__ methods (closes #12166) 2011-05-24 11:09:06 -05:00
test_dict.py
test_dictcomps.py
test_dictviews.py
test_difflib.py
test_difflib_expect.html
test_dis.py excise the remains of STOP_CODE, which hasn't done anything useful for years 2011-07-17 22:49:50 -05: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_dummy_thread.py
test_dummy_threading.py
test_dynamic.py
test_enumerate.py
test_eof.py
test_epoll.py
test_errno.py
test_exception_variations.py
test_exceptions.py merge 3.2 2011-07-03 16:27:41 -05:00
test_extcall.py give the names of missing positional or keyword-only arguments (closes #12356) 2011-06-24 09:37:26 -05:00
test_faulthandler.py Issue #12550: Add chain optional argument to faulthandler.register() 2011-07-13 23:39:53 +02:00
test_fcntl.py Issue #12451: Open files in binary mode in some tests when the text file is not 2011-06-30 18:20:11 +02:00
test_file.py
test_filecmp.py
test_fileinput.py Skip test in test_fileinput when zlib is missing. 2011-05-14 10:10:53 +03:00
test_fileio.py
test_float.py
test_flufl.py
test_fnmatch.py
test_fork1.py
test_format.py
test_fractions.py
test_frozen.py (Merge 3.1) Issue #11614: import __hello__ prints "Hello World!". Patch written 2011-05-16 16:32:33 +02:00
test_ftplib.py Issue 12139: ftplib - remove 'post CCC' test to fix various buildot failures due to dummy test server not properly handling SSL shutdown(), see http://bugs.python.org/msg139499 2011-06-30 18:34:41 +02:00
test_funcattrs.py
test_functools.py
test_future.py
test_future3.py
test_future4.py
test_future5.py Issue #12408: Fix relative import in test_future5.py. Thanks Cesare Di Mauro. 2011-06-25 13:29:14 +02:00
test_gc.py
test_gdb.py Issue #11996: libpython (gdb), replace "py-bt" command by "py-bt-full" and add 2011-05-13 17:40:15 +02:00
test_generators.py
test_genericpath.py
test_genexps.py
test_getargs2.py
test_getopt.py
test_gettext.py
test_glob.py Issue #12451: Add support.create_empty_file() 2011-06-30 23:25:47 +02:00
test_global.py
test_grammar.py don't restrict unexpected EOF errors to the first line (closes #12216) 2011-05-30 11:12:38 -05:00
test_grp.py
test_gzip.py
test_hash.py
test_hashlib.py Fixes Issue #12059: Properly handle missing hash functions even when 2011-05-14 15:15:49 -07:00
test_heapq.py Merge with 3.1. 2011-05-09 18:40:42 +03:00
test_hmac.py
test_html.py
test_htmlparser.py
test_http_cookiejar.py this should be an identity test 2011-07-14 10:03:35 -05:00
test_http_cookies.py
test_httplib.py
test_httpservers.py Issue #3709: a flush_headers method to BaseHTTPRequestHandler which manages the 2011-05-09 23:25:02 +08:00
test_imaplib.py Issue #8808: The IMAP4_SSL constructor now allows passing an SSLContext 2011-05-06 18:49:52 +02:00
test_imp.py Issue #12451: Add support.create_empty_file() 2011-06-30 23:25:47 +02:00
test_import.py Issue #12451: Add support.create_empty_file() 2011-06-30 23:25:47 +02:00
test_importhooks.py
test_importlib.py
test_index.py
test_inspect.py allow "fake" filenames in findsource (closes #9284) 2011-06-11 15:53:11 -05:00
test_int.py
test_int_literal.py
test_io.py Issue #12591: Allow io.TextIOWrapper to work with raw IO objects (without 2011-07-23 21:50:21 +02:00
test_ioctl.py Issue #12451: Open files in binary mode in some tests when the text file is not 2011-06-30 18:20:11 +02:00
test_isinstance.py
test_iter.py
test_iterlen.py
test_itertools.py Mark itertools tests of tuple reuse as being specific to CPython. 2011-07-17 16:21:30 -07:00
test_json.py
test_keywordonlyarg.py greatly improve argument parsing error messages (closes #12265) 2011-06-05 22:04:07 -05:00
test_kqueue.py Issue #12400: Add missing import (os) to test_kqueue 2011-06-29 17:20:02 +02:00
test_largefile.py
test_lib2to3.py
test_linecache.py (Merge 3.1) Issue #11614: Fix test_linecache, cjkencodings_test.py doesn't 2011-05-16 17:20:07 +02:00
test_list.py
test_listcomps.py
test_locale.py Backport 0398f07d4827 (fix for weird buildbot failures) 2011-07-27 01:06:07 +02:00
test_logging.py Fixes #12637: Merged fix from 3.2 and added test. 2011-07-25 19:58:13 +01:00
test_long.py
test_longexp.py
test_macpath.py
test_mailbox.py Issue #12451: Add support.create_empty_file() 2011-06-30 23:25:47 +02:00
test_marshal.py Closes #12291 for 3.3 - merged fix from 3.2. 2011-07-02 17:16:02 +01:00
test_math.py (Merge 3.2) Close #12230: Mac OS X Tiger (10.4) has a kernel bug: sometimes, 2011-06-01 13:19:07 +02:00
test_memoryio.py
test_memoryview.py
test_metaclass.py
test_mimetypes.py
test_minidom.py Issue 11758: increase xml.dom.minidom test coverage (contributed by mdorn, reviewed by Sandro Tosi). 2011-06-25 15:54:52 +02:00
test_mmap.py (merge 3.2) Issue #12451: Open files in binary mode in some tests when the text 2011-06-30 18:21:39 +02:00
test_module.py
test_modulefinder.py
test_msilib.py
test_multibytecodec.py Close #12171: IncrementalEncoder.reset() of CJK codecs (multibytecodec) calls 2011-05-30 22:56:00 +02:00
test_multibytecodec_support.py Issue #12016: Add test_errorhandle() to TestBase_Mapping of 2011-06-03 23:44:39 +02:00
test_multiprocessing.py Merge issue #12352: Fix a deadlock in multiprocessing.Heap when a block is 2011-07-02 14:43:11 +02:00
test_mutants.py
test_netrc.py fix regression in netrc comment handling (closes #12009) 2011-06-10 11:32:52 -05:00
test_nis.py
test_nntplib.py
test_normalization.py
test_ntpath.py
test_numeric_tower.py
test_opcodes.py
test_openpty.py
test_operator.py
test_optparse.py Issue #12451: Add support.create_empty_file() 2011-06-30 23:25:47 +02:00
test_os.py test_os needs to reap threads 2011-07-15 23:00:56 +02:00
test_ossaudiodev.py Issue #12287: In ossaudiodev, check that the device isn't closed in several 2011-06-11 18:58:24 +02:00
test_osx_env.py
test_packaging.py initial import of the packaging package in the standard library 2011-05-19 13:07:25 +02:00
test_parser.py only clear the parser error if it's set (closes #12264) 2011-06-04 22:06:42 -05:00
test_pdb.py
test_peepholer.py
test_pep247.py
test_pep263.py
test_pep277.py
test_pep292.py Tidy up the additional string module tests added at the Pycon sprints (closes #11505) 2011-05-31 19:40:11 +10:00
test_pep352.py
test_pep3120.py
test_pep3131.py
test_pickle.py
test_pickletools.py
test_pipes.py Add shlex.quote function, to escape filenames and command lines (#9723). 2011-07-27 18:29:31 +02:00
test_pkg.py
test_pkgimport.py Issue #12451: Add support.create_empty_file() 2011-06-30 23:25:47 +02:00
test_pkgutil.py
test_platform.py Issue #12549: Correct test_platform to not fail when OS X returns 'x86_64' 2011-07-13 15:09:49 -07:00
test_plistlib.py Issue #985064: Make plistlib more resilient to faulty input plists. 2011-05-28 03:02:30 -07:00
test_poll.py
test_popen.py
test_poplib.py
test_posix.py Issue #8746: Use tempfile module to get tempdir and randomize the 2011-07-26 13:56:49 -07:00
test_posixpath.py
test_pow.py
test_pprint.py
test_print.py
test_profile.py
test_property.py
test_pstats.py
test_pty.py
test_pulldom.py
test_pwd.py
test_pyclbr.py
test_pydoc.py Merge from 3.2 2011-07-15 22:43:33 +02:00
test_pyexpat.py
test_queue.py
test_quopri.py
test_raise.py catch nasty exception classes with __new__ that doesn't return a exception (closes #11627) 2011-07-15 14:09:26 -05:00
test_random.py
test_range.py
test_re.py
test_readline.py
test_reprlib.py Issue #12451: Add support.create_empty_file() 2011-06-30 23:25:47 +02:00
test_resource.py
test_richcmp.py
test_rlcompleter.py
test_robotparser.py Avoid failing in test_robotparser when mueblesmoraleda.com is flaky and 2011-07-08 19:43:51 +02:00
test_runpy.py (merge 3.2) Issue #12451: runpy: run_path() now opens the Python script in 2011-07-04 01:47:40 +02:00
test_sax.py merge 11164 2011-05-09 08:12:19 +02:00
test_sched.py
test_scope.py
test_select.py
test_set.py
test_setcomps.py
test_shelve.py
test_shlex.py Add shlex.quote function, to escape filenames and command lines (#9723). 2011-07-27 18:29:31 +02:00
test_shutil.py merge from 3.2 2011-07-03 18:22:14 -07:00
test_signal.py Issue #12469: fix signal order check of test_signal 2011-07-05 01:32:06 +02:00
test_site.py
test_slice.py
test_smtpd.py
test_smtplib.py Merge #7484: no more <> around addresses in VRFY or EXPN 2011-07-18 21:42:28 -04:00
test_smtpnet.py Skip test_smtpnet when ssl is not available 2011-05-18 20:02:50 +02:00
test_sndhdr.py
test_socket.py Issue #12196: Make test.support's requires_linux_version a decorator. 2011-06-03 12:55:15 +02:00
test_socketserver.py Issue #12250: test_socketserver uses a timeout of 60 seconds instead of 20 2011-07-14 14:53:24 +02:00
test_sort.py
test_sqlite.py
test_ssl.py Issue #12551: Provide a get_channel_binding() method on SSL sockets so as 2011-07-21 01:11:30 +02:00
test_startfile.py
test_strftime.py
test_string.py Tidy up the additional string module tests added at the Pycon sprints (closes #11505) 2011-05-31 19:40:11 +10: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 #12607: Merge with 3.2. 2011-07-27 07:39:27 +02:00
test_sunau.py
test_sundry.py
test_super.py use a invalid name for the __class__ closure for super() (closes #12370) 2011-06-19 19:42:22 -05:00
test_support.py Issue #11049: skip a test that fails on some buildbots 2011-07-23 15:00:31 +03:00
test_symtable.py
test_syntax.py
test_sys.py map cells to arg slots at code creation time (closes #12399) 2011-06-25 22:54:45 -05:00
test_sys_setprofile.py
test_sys_settrace.py
test_sysconfig.py Branch merge 2011-05-26 16:35:14 +02:00
test_syslog.py
test_tarfile.py Issue #12451: Add support.create_empty_file() 2011-06-30 23:25:47 +02:00
test_tcl.py
test_telnetlib.py
test_tempfile.py
test_textwrap.py
test_thread.py
test_threaded_import.py test_threaded_import must clean up after itself 2011-07-15 23:09:13 +02:00
test_threadedtempfile.py
test_threading.py (merge 3.2) Issue #11870: Skip test_threading.test_2_join_in_forked_process() 2011-07-01 14:53:07 +02:00
test_threading_local.py
test_threadsignals.py Issue #11223: skip also test_rlock_acquire_interruption() on FreeBSD6 2011-06-23 14:22:28 +02:00
test_time.py Issue #12459: time.sleep() now raises a ValueError if the sleep length is 2011-07-05 22:00:25 +02:00
test_timeit.py
test_timeout.py
test_tk.py Issue #8716: Avoid crashes caused by Aqua Tk on OSX when attempting to run 2011-07-03 21:56:48 -07:00
test_tokenize.py Issue #12587: Correct faulty test file and reference in test_tokenize. 2011-07-19 16:15:27 -07:00
test_trace.py
test_traceback.py
test_ttk_guionly.py Issue #8716: Avoid crashes caused by Aqua Tk on OSX when attempting to run 2011-07-03 21:56:48 -07:00
test_ttk_textonly.py
test_tuple.py
test_typechecks.py
test_types.py
test_ucn.py
test_unary.py
test_unicode.py Merge from 3.2. 2011-07-18 14:08:55 -04:00
test_unicode_file.py Issue #12451: Add support.create_empty_file() 2011-06-30 23:25:47 +02:00
test_unicodedata.py
test_unittest.py
test_univnewlines.py
test_unpack.py
test_unpack_ex.py
test_urllib.py Issue #4608: urllib.request.urlopen does not return an iterable object 2011-06-26 14:30:25 +02:00
test_urllib2.py Merge: #10883: Fix socket leaks in urllib.request. 2011-07-23 14:25:45 +02:00
test_urllib2_localnet.py
test_urllib2net.py Fix closes Issue12576 - fix urlopen behavior on sites which do not send (or obsfuscates) Connection: Close header. 2011-07-27 08:05:58 +08:00
test_urllib_response.py
test_urllibnet.py Avoid failing in test_urllibnet.test_bad_address when some overzealous 2011-07-08 19:19:57 +02:00
test_urlparse.py Fix closes issue12581 - Increase the urllib.parse test coverage. Patch by Petter Haggholm. 2011-07-23 18:27:45 +08:00
test_userdict.py
test_userlist.py
test_userstring.py
test_uu.py
test_uuid.py
test_wait3.py Issue #12041: Make test_wait3 more robust. 2011-05-09 21:17:02 +02:00
test_wait4.py
test_warnings.py Make warnings accept a callable for showwarnings instead of 2011-07-17 19:17:55 -07:00
test_wave.py
test_weakref.py
test_weakset.py
test_winreg.py
test_winsound.py
test_with.py
test_wsgiref.py
test_xdrlib.py
test_xml_etree.py
test_xml_etree_c.py
test_xmlrpc.py
test_xmlrpc_net.py
test_zipfile.py Issue #10801: Fix test_unicode_filenames() of test_zipfile 2011-06-10 16:32:54 +02:00
test_zipfile64.py Refactor a few tests to use the new requires_zlib decorator. 2011-05-19 22:03:22 +03:00
test_zipimport.py Issue #12451: Add support.create_empty_file() 2011-06-30 23:25:47 +02:00
test_zipimport_support.py (merge 3.2) Issue #12400: test_zipimport_support doesn't restore original 2011-06-29 18:12:33 +02:00
test_zlib.py Merge: Fix copy-paste mistake in new zlib test. 2011-05-15 00:48:57 +02:00
testcodec.py
testtar.tar
tf_inherit_check.py
threaded_import_hangers.py Fix whitespace 2011-07-15 23:09:58 +02:00
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 Issue #12587: Correct faulty test file and reference in test_tokenize. 2011-07-19 16:15:27 -07:00
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 Ooops, add the missing file of the backport of commit 33543b4e0e5d from Python 2011-05-18 13:48:41 +02:00
zipdir.zip