cpython/Lib/test
Georg Brandl 09a7c72cad Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime)
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.

The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.
2012-02-20 21:31:46 +01:00
..
capath
cjkencodings
crashers
data Issue #12497: Install test/data to prevent failures of the various codecmaps 2011-07-04 19:06:20 -07:00
decimaltestdata
encoded_modules
json_tests
leakers
sndhdrdata
subprocessdata
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
formatfloat_testcases.txt
gdb_sample.py
https_svn_python_org_root.pem
ieee754.txt
inspect_fodder.py
inspect_fodder2.py
keycert.pem
keycert2.pem
list_tests.py Revert "Accept None as start and stop parameters for list.index() and tuple.index()" 2011-11-06 21:02:39 +02:00
lock_tests.py Issue #13502: threading: Fix a race condition in Event.wait() that made it 2012-01-07 18:24:56 +01:00
make_ssl_certs.py
mapping_tests.py Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 2012-02-20 21:31:46 +01:00
math_testcases.txt
mime.types Issue #13025: mimetypes is now reading MIME types using the UTF-8 encoding, 2011-10-14 03:03:35 +02:00
mock_socket.py
nokia.pem Issue #13034: When decoding some SSL certificates, the subjectAltName extension could be unreported. 2011-10-01 19:20:25 +02:00
nullcert.pem
outstanding_bugs.py
pickletester.py Issue #13505: Make pickling of bytes object compatible with Python 2. 2011-12-13 13:08:09 -05:00
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
regrtest.py Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 2012-02-20 21:31:46 +01:00
relimport.py
reperf.py
sample_doctest.py
script_helper.py Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 2012-02-20 21:31:46 +01:00
seq_tests.py Revert "Accept None as start and stop parameters for list.index() and tuple.index()" 2011-11-06 21:02:39 +02:00
sgml_input.html
sha256.pem
sortperf.py
ssl_cert.pem
ssl_key.pem
ssl_servers.py
string_tests.py #12266: Fix str.capitalize() to correctly uppercase/lowercase titlecased and cased non-letter characters. 2011-08-15 09:09:57 +03:00
support.py Issue #13453: Catch EAI_FAIL in support.transient_internet. 2011-12-10 13:16:44 +01:00
test___all__.py
test___future__.py
test__locale.py
test_abc.py
test_abstract_numbers.py
test_aifc.py Issue #13589: Fix some serialization primitives in the aifc module. 2012-01-17 17:13:04 +01:00
test_argparse.py #11906 Make test_argparse work interactively by removing extra space 2012-01-09 18:20:09 -05:00
test_array.py
test_ast.py Issue #13436: Fix a bogus error message when an AST object was passed 2011-11-22 21:51:55 +01:00
test_asynchat.py
test_asyncore.py
test_atexit.py
test_audioop.py Fix failing test on big-endian machines (issue #13806). 2012-02-04 16:44:21 +01:00
test_augassign.py
test_base64.py
test_bigaddrspace.py
test_bigmem.py Start fixing test_bigmem: 2011-10-04 10:22:36 +02:00
test_binascii.py
test_binhex.py
test_binop.py
test_bisect.py
test_bool.py
test_bufio.py
test_builtin.py Skip early if stdin and stdout are not ttys 2011-11-06 03:03:18 +01:00
test_bytes.py
test_bz2.py
test_calendar.py Fix closes Issue10087 - fixing the output of calendar display in the html format. Patch by Chris Lambacher. Test Contributed by catherine. 2011-08-11 09:22:52 +08:00
test_call.py
test_capi.py Test running of code in a sub-interpreter 2012-01-18 00:21:11 +01:00
test_cfgparser.py #13760: picklability tests for configparser exceptions 2012-01-20 15:53:10 +01:00
test_cgi.py 3.2 - Fix closes Issue12529 - cgi.parse_header failure on double quotes and 2011-10-20 01:05:44 +08:00
test_charmapcodec.py
test_class.py
test_cmath.py
test_cmd.py Test for issue #13500 2012-02-19 03:54:29 +01:00
test_cmd_line.py Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 2012-02-20 21:31:46 +01:00
test_cmd_line_script.py
test_code.py
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
test_codecmaps_hk.py
test_codecmaps_jp.py
test_codecmaps_kr.py
test_codecmaps_tw.py
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 Improve Counter.__repr__() to not fail with unorderable values 2011-11-05 13:35:26 -07:00
test_colorsys.py
test_compare.py
test_compile.py
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 Issue #12364: Fix a hang in concurrent.futures.ProcessPoolExecutor. 2012-01-08 08:29:40 +02:00
test_contains.py
test_contextlib.py
test_copy.py
test_copyreg.py
test_cprofile.py
test_crypt.py
test_csv.py
test_ctypes.py
test_curses.py Issue #10570: curses.putp() is now expecting a byte string, instead of a 2011-11-03 20:35:40 +01:00
test_datetime.py
test_dbm.py
test_dbm_dumb.py
test_dbm_gnu.py
test_dbm_ndbm.py
test_decimal.py
test_decorators.py
test_defaultdict.py #13531: add a test for defaultdict with a non-callable arg. Patch by Mike Cheng. 2011-12-08 00:02:00 +02:00
test_deque.py
test_descr.py Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 2012-02-20 21:31:46 +01:00
test_descrtut.py
test_dict.py
test_dictcomps.py
test_dictviews.py
test_difflib.py
test_difflib_expect.html
test_dis.py
test_distutils.py
test_doctest.py Followup to #7502: add __hash__ method and tests. 2011-12-18 20:20:17 +01: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_email.py
test_enumerate.py
test_eof.py
test_epoll.py propgate error in other conditions 2011-12-27 15:16:34 -06:00
test_errno.py
test_exception_variations.py
test_exceptions.py Issue #12802: the Windows error ERROR_DIRECTORY (numbered 267) is now 2011-09-01 21:37:43 +02:00
test_extcall.py
test_fcntl.py Issue #12821: Fix test_fcntl failures on OpenBSD 5. 2011-08-23 19:46:46 +02:00
test_file.py
test_filecmp.py
test_fileinput.py
test_fileio.py Issue #13848: open() and the FileIO constructor now check for NUL characters in the file name. 2012-01-29 18:36:34 +01:00
test_float.py bring is_integer into tested existence 2011-10-28 19:42:48 -04:00
test_flufl.py
test_fnmatch.py
test_fork1.py
test_format.py
test_fractions.py
test_frozen.py
test_ftplib.py Issue #13453: Try to increase some socket timeouts to make some buildbots stop 2011-12-19 16:12:23 +01:00
test_funcattrs.py
test_functools.py Issue 13177: Make tracebacks more readable by avoiding chained exceptions in the lru_cache. 2011-10-15 23:50:42 -07:00
test_future.py
test_future1.py
test_future2.py
test_future3.py
test_future4.py
test_future5.py
test_gc.py
test_gdb.py Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 2012-02-20 21:31:46 +01:00
test_generators.py Issue #13188: When called without an explicit traceback argument, 2011-10-18 16:40:50 +02:00
test_genericpath.py
test_genexps.py
test_getargs2.py
test_getopt.py
test_gettext.py
test_glob.py
test_global.py
test_grammar.py #8414: add more tests for "assert". Initial patch by Gregory Nofi. 2011-12-02 18:22:52 +02:00
test_grp.py
test_gzip.py Issue #13781: Fix GzipFile to work with os.fdopen()'d file objects. 2012-01-18 09:25:58 +02:00
test_hash.py Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 2012-02-20 21:31:46 +01:00
test_hashlib.py Start fixing test_bigmem: 2011-10-04 10:22:36 +02:00
test_heapq.py
test_hmac.py
test_html.py
test_htmlparser.py Fix an index and clean up comments. 2012-02-13 20:20:00 +02:00
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 Issue #10860: Skip the new test if HTTPS is not available 2011-10-26 21:29:15 +03:00
test_httpservers.py Issue #13308: Fix test_httpservers failures when run as root. 2011-11-02 19:35:14 +01:00
test_imaplib.py
test_imp.py
test_import.py Port import fixes from 2.7. 2012-01-25 18:01:45 +01:00
test_importhooks.py
test_importlib.py
test_index.py
test_inspect.py Add part of test_inspect test from 2.7 2012-01-18 17:40:18 +01:00
test_int.py
test_int_literal.py
test_io.py Issue #13848: open() and the FileIO constructor now check for NUL characters in the file name. 2012-01-29 18:36:34 +01: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
test_json.py
test_keywordonlyarg.py Issue #13343: Fix a SystemError when a lambda expression uses a global 2011-11-04 22:17:45 +01: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 - Issue #11250: Back port fix from 3.3 branch, so that 2to3 can handle files 2011-10-07 14:44:49 -04:00
test_linecache.py
test_list.py Issue #12911: Fix memory consumption when calculating the repr() of huge tuples or lists. 2011-10-06 18:57:27 +02:00
test_listcomps.py
test_locale.py Issue #1813: Revert workaround for a glibc bug on the Fedora buildbot. 2012-02-02 16:40:52 +01:00
test_logging.py Closes #13361: Raise correct exception type. 2011-11-07 10:15:08 +00:00
test_long.py
test_longexp.py
test_macpath.py
test_mailbox.py Followup to issue #11867: Use socketpair(), since FreeBSD < 8 doesn't really 2011-12-20 11:48:22 +01:00
test_marshal.py Closes #12291: Fixed bug which was found when doing multiple loads from one stream. 2011-07-02 16:42:47 +01:00
test_math.py
test_memoryio.py
test_memoryview.py
test_metaclass.py
test_mimetypes.py Issue #13025: mimetypes is now reading MIME types using the UTF-8 encoding, 2011-10-14 03:03:35 +02:00
test_minidom.py #4147: minidom's toprettyxml no longer adds whitespace around a text node when it is the only child of an element. Initial patch by Dan Kenigsberg. 2011-11-18 17:34:26 +02:00
test_mmap.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_module.py
test_modulefinder.py
test_msilib.py
test_multibytecodec.py
test_multibytecodec_support.py
test_multiprocessing.py Issue #13812: When a multiprocessing Process child raises an exception, flush stderr after printing the exception traceback. 2012-01-27 10:52:37 +01:00
test_mutants.py
test_netrc.py
test_nis.py
test_nntplib.py Issue #7644: Add tests for the file argument of NNTP.head() and NNTP.body(). 2012-02-15 18:53:18 +01:00
test_normalization.py
test_ntpath.py
test_numeric_tower.py
test_opcodes.py
test_openpty.py
test_operator.py
test_optparse.py
test_os.py Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 2012-02-20 21:31:46 +01:00
test_ossaudiodev.py
test_osx_env.py
test_parser.py
test_pdb.py
test_peepholer.py
test_pep247.py
test_pep263.py
test_pep277.py
test_pep292.py
test_pep352.py
test_pep3120.py Issue #13913: Another fix test_pep3120 for the UTF-8 codec name 2012-02-15 23:44:03 +01:00
test_pep3131.py normalization is different between unicode builds, so use a new non-BMP char and add normalization test 2011-08-12 23:35:34 -05:00
test_pickle.py Issue #11564: Avoid crashes when trying to pickle huge objects or containers 2011-08-29 23:09:33 +02:00
test_pickletools.py
test_pipes.py Test pipes.quote with a few non-ASCII characters (see #9723). 2011-08-09 23:03:43 +02:00
test_pkg.py
test_pkgimport.py
test_pkgutil.py Issue #7367: Ensure test directory always gets removed. 2011-10-07 12:01:40 -07:00
test_platform.py Issue #12549: Correct test_platform to not fail when OS X returns 'x86_64' 2011-07-13 15:07:04 -07:00
test_plistlib.py
test_poll.py
test_popen.py
test_poplib.py Issue #13453: Fix a race condition in test_poplib. 2011-12-14 19:28:56 +01:00
test_posix.py Issue #8746: Use tempfile module to get tempdir and randomize the 2011-07-26 13:53:55 -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 don't use assertSameElements. 2012-02-16 00:34:12 -08:00
test_pwd.py
test_py_compile.py Issue #12618: py_compile cannot create files in current directory 2011-11-28 09:27:32 -06:00
test_pyclbr.py
test_pydoc.py Issue #13861: Prevent test_apropos* test case failures in test_pydoc. 2012-02-03 23:14:37 +01: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
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 Issue #12451: runpy: run_path() now opens the Python script in binary mode, 2011-07-04 01:45:39 +02:00
test_sax.py
test_sched.py Issue #13878: Fix random test_sched failures. 2012-02-16 19:49:48 +01:00
test_scope.py
test_select.py
test_set.py Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 2012-02-20 21:31:46 +01:00
test_setcomps.py
test_shelve.py
test_shlex.py
test_shutil.py Fix closes issue issue12470 - check for utime for the skipUnless condition. 2011-07-03 18:21:38 -07:00
test_signal.py Issue #12469: Run "wakeup" signal tests in subprocess to run the test in a 2011-07-04 17:35:10 +02:00
test_site.py Issue #10881: Fix test_site failure with OS X framework builds. 2012-02-06 00:58:18 +01:00
test_slice.py
test_smtpd.py Restore smtpd.DEBUGSTREAM at the end of test_smtpd. 2011-11-12 20:36:29 +01:00
test_smtplib.py Make tests faster by reaping threads only at the end 2011-08-28 01:23:52 +02:00
test_smtpnet.py
test_sndhdr.py
test_socket.py Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch by 2012-01-02 15:47:29 +01:00
test_socketserver.py Closes #13140: Fix the daemon_threads attribute of ThreadingMixIn. 2011-11-04 10:16:28 +01:00
test_sort.py Remove duplicates of cmp_to_key (#12542, reviewed by Raymond Hettinger) 2011-07-26 15:13:47 +02:00
test_sqlite.py
test_ssl.py Issue #13895: fix test_ssl hanging under Ubuntu 2012-01-28 17:38:34 +01:00
test_startfile.py
test_strftime.py
test_string.py
test_stringprep.py
test_strlit.py test_strlit was never run 2012-01-12 22:36:48 +01:00
test_strptime.py
test_strtod.py
test_struct.py
test_structmembers.py
test_structseq.py
test_subprocess.py Fix a unittest error seen on NetBSD 5. 2012-01-21 22:05:10 -08:00
test_sunau.py
test_sundry.py
test_super.py
test_symtable.py merge 3.1 2012-01-03 16:24:39 -06:00
test_syntax.py
test_sys.py Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 2012-02-20 21:31:46 +01:00
test_sys_setprofile.py
test_sys_settrace.py Enable the only tests for sys.gettrace 2011-10-05 22:36:05 +02:00
test_sysconfig.py Fix test_sysconfig when prefix != exec-prefix (#9100). 2011-10-08 01:55:07 +02:00
test_syslog.py
test_tarfile.py Correctly detect bzip2 compressed streams with blocksizes other than 900k. 2011-12-06 12:56:38 +01:00
test_tcl.py
test_telnetlib.py Partial patch for issue #11812: Take care of test_telnetlib.py 2011-11-08 16:24:43 +01:00
test_tempfile.py Issue #12856: Ensure child processes do not inherit the parent's random seed for filename generation in the tempfile module. 2011-11-25 21:28:15 +01:00
test_textwrap.py
test_thread.py
test_threaded_import.py
test_threadedtempfile.py
test_threading.py Skip test_threading.test_reinit_tls_after_fork() on platforms where fork() 2012-02-08 21:29:11 +01:00
test_threading_local.py
test_threadsignals.py
test_time.py Issue #11886: workaround an OS bug (time zone data) in test_time 2011-12-08 00:32:51 +01: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 tokenize is just broken on test_pep3131.py 2011-08-13 00:33:21 -05: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 Issue #12911: Fix memory consumption when calculating the repr() of huge tuples or lists. 2011-10-06 18:57:27 +02:00
test_typechecks.py
test_types.py
test_ucn.py
test_unary.py
test_unicode.py Issue #13093: Fix error handling on PyUnicode_EncodeDecimal() 2011-11-22 01:45:37 +01:00
test_unicode_file.py
test_unicodedata.py
test_unittest.py
test_univnewlines.py
test_unpack.py
test_unpack_ex.py
test_urllib.py Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 2012-02-20 21:31:46 +01:00
test_urllib2.py Issue13696 - Fix 302 Redirection for Relative urls. 2012-01-04 13:46:59 +08:00
test_urllib2_localnet.py
test_urllib2net.py Fix Issue6631 - Disallow relative file paths in urllib urlopen 2012-01-21 11:52:48 +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 Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime) 2012-02-20 21:31:46 +01:00
test_userdict.py
test_userlist.py
test_userstring.py
test_uu.py
test_uuid.py
test_wait3.py
test_wait4.py
test_warnings.py Issue #12467: warnings: fix a race condition if a warning is emitted at 2011-07-04 02:43:09 +02: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 Closes #2892: preserve iterparse events in case of SyntaxError. 2011-11-01 23:31:09 +01:00
test_xml_etree_c.py Start fixing test_bigmem: 2011-10-04 10:22:36 +02:00
test_xmlrpc.py Issue #14001: CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer 2012-02-18 14:53:41 +01:00
test_xmlrpc_net.py Fix resource warning in test_xmlrpc_net 2011-11-28 21:14:46 +01:00
test_zipfile.py 3.2 - Fix closes Issue6090 - Raise a ValueError, instead of failing with unrelated 2011-10-20 01:46:00 +08:00
test_zipfile64.py
test_zipimport.py
test_zipimport_support.py Issue #12400: test_zipimport_support doesn't restore original sys.stdout 2011-06-29 18:11:36 +02:00
test_zlib.py Start fixing test_bigmem: 2011-10-04 10:22:36 +02:00
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 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
zipdir.zip