cpython/Lib/test/output
Fred Drake 13634cf7a4 This patch addresses two main issues: (1) There exist some non-fatal
errors in some of the hash algorithms. For exmaple, in float_hash and
complex_hash a certain part of the value is not included in the hash
calculation. See Tim's, Guido's, and my discussion of this on
python-dev in May under the title "fix float_hash and complex_hash for
64-bit *nix"

(2) The hash algorithms that use pointers (e.g. func_hash, code_hash)
are universally not correct on Win64 (they assume that sizeof(long) ==
sizeof(void*))

As well, this patch significantly cleans up the hash code. It adds the
two function _Py_HashDouble and _PyHash_VoidPtr that the various
hashing routine are changed to use.

These help maintain the hash function invariant: (a==b) =>
(hash(a)==hash(b))) I have added Lib/test/test_hash.py and
Lib/test/output/test_hash to test this for some cases.
2000-06-29 19:17:04 +00:00
..
test_MimeWriter Now that test_MimeWriter is untabified, do the same here! 1998-06-11 22:22:39 +00:00
test_al Output file for test_al.py 1997-01-03 22:39:31 +00:00
test_array Test output files in their new location 1996-12-10 23:20:09 +00:00
test_atexit Added the atexit module and documentation from Skip Montanaro 2000-06-28 15:07:31 +00:00
test_audioop Two new files (to shut up regrtest). 1996-12-20 03:14:42 +00:00
test_binascii Test output. 1999-10-19 19:09:00 +00:00
test_binhex Test output for test_binhex.py. 1999-10-19 19:07:33 +00:00
test_bsddb Output from test script for the bsddb C extension module. 1997-01-16 22:04:35 +00:00
test_builtin generated output for new tests 1997-08-22 21:27:40 +00:00
test_cd Output file for test_cd.py 1997-01-03 22:58:43 +00:00
test_cl Test output for the SGI cl C module test script. 1997-01-17 15:59:16 +00:00
test_cmath Test output files in their new location 1996-12-10 23:20:09 +00:00
test_contains test_contains output 2000-03-06 21:08:08 +00:00
test_cpickle Basic regr tests for pickle/cPickle 1999-03-25 22:38:49 +00:00
test_crypt Revised output for test_crypt 1996-12-16 20:44:16 +00:00
test_dbm Test output files in their new location 1996-12-10 23:20:09 +00:00
test_dl Output files for test_dl and test_errno 1996-12-16 20:36:05 +00:00
test_errno Output files for test_dl and test_errno 1996-12-16 20:36:05 +00:00
test_exceptions update output file to reflect new test of exception object str-ness 2000-06-25 10:44:57 +00:00
test_extcall Two fixes for extended call syntax: 2000-03-30 23:55:31 +00:00
test_fcntl Added the test output for fcntl. 1996-12-17 17:41:36 +00:00
test_fork1 Test case for fork1() behavior. 2000-02-25 19:25:05 +00:00
test_gdbm Test output for the GNU dbm module (gdbm) 1996-12-17 19:54:46 +00:00
test_gl Test output for the gl C extension module. 1996-12-24 19:36:33 +00:00
test_grammar fix previous checkin 2000-03-28 23:53:22 +00:00
test_grp Test script output for the UNIX group file access module (grp) 1996-12-18 19:37:07 +00:00
test_gzip Jonathan Giddy discovered this file was missing. 1999-03-29 15:28:54 +00:00
test_hash This patch addresses two main issues: (1) There exist some non-fatal 2000-06-29 19:17:04 +00:00
test_imageop test output for SGI imageop C module. 1996-12-20 20:47:17 +00:00
test_imgfile Output for test script for the SGI imgfile module. 1996-12-20 21:42:09 +00:00
test_linuxaudiodev Added test for linnuxaudiodev module; directly adapted from sunaudiodev 2000-06-10 04:22:57 +00:00
test_long New test_long.py from Tim Peters. 1998-10-02 01:19:48 +00:00
test_longexp verify that Python raises SyntaxError for long and deeply-nested expressions 2000-06-20 19:13:27 +00:00
test_math Added math.rint() -- round according to current IEEE754 mode 2000-05-11 18:19:42 +00:00
test_md5 Test output files in their new location 1996-12-10 23:20:09 +00:00
test_mmap Additional tests for seek() method, written by Trent Mick 2000-06-18 04:47:08 +00:00
test_new Output files 1996-12-23 23:40:11 +00:00
test_nis Output files 1996-12-23 23:40:11 +00:00
test_ntpath New test for ntpath module 1999-02-03 17:21:21 +00:00
test_opcodes Add test for function comparisons 1997-08-05 16:52:50 +00:00
test_operations Test output files in their new location 1996-12-10 23:20:09 +00:00
test_operator Output files 1996-12-23 23:40:11 +00:00
test_pickle Basic regr tests for pickle/cPickle 1999-03-25 22:38:49 +00:00
test_pkg Added test for __all__. 1997-09-08 16:06:20 +00:00
test_popen2 Test for popen2 module, by Chris Tismer. 1999-03-11 13:26:23 +00:00
test_pow Two new files (to shut up regrtest). 1996-12-20 03:14:42 +00:00
test_pwd Output files 1996-12-23 23:40:11 +00:00
test_pyexpat Change pyexpat test suite to exercise the .returns_unicode attribute, 2000-06-27 00:37:25 +00:00
test_re Corresponding output. 1997-07-17 22:37:07 +00:00
test_regex Changes to make these tests work on the Mac. 1997-05-16 13:51:48 +00:00
test_rfc822 Test the rfc822.py module. Contains just a few simple cases, and some 1999-01-14 20:00:58 +00:00
test_rgbimg Output of rgbimg module test 1996-12-11 21:42:38 +00:00
test_rotor Forgot to check in the fixed output for print 1997-08-18 15:36:05 +00:00
test_select A test of the select module that is actually reproduceable! 1996-12-11 23:58:46 +00:00
test_sha Added Jeremy's test code for the sha module. 1999-03-24 19:04:32 +00:00
test_signal Output for signal module test 1997-01-03 16:01:20 +00:00
test_socket Print less in test_socket. 1997-05-09 01:54:45 +00:00
test_strftime Fixed test_strftime to be silent when called from autotest. 1996-12-12 19:07:19 +00:00
test_string Output for the regression test of the new string methods. 1999-06-10 22:53:23 +00:00
test_strop New output file for strop test 1997-01-06 22:46:45 +00:00
test_struct Fixed 1996-12-13 18:05:28 +00:00
test_sunaudiodev Test of the sunaudiodev module -- it simply plays a sound if it can 1997-01-07 21:05:29 +00:00
test_thread (test_thread): output from thread test 1996-12-16 23:42:56 +00:00
test_time Test output files in their new location 1996-12-10 23:20:09 +00:00
test_timing Output for test of the timing module 1997-01-13 23:03:54 +00:00
test_tokenize Track changes in tokenize.py 1998-04-03 19:56:40 +00:00
test_types Test output files in their new location 1996-12-10 23:20:09 +00:00
test_ucn Marc-Andre Lemburg <mal@lemburg.com>: 2000-06-29 13:31:10 +00:00
test_unicode Marc-Andre Lemburg <mal@lemburg.com>: 2000-06-28 16:41:46 +00:00
test_unicodedata Marc-Andre Lemburg: 2000-03-28 20:29:59 +00:00
test_unpack Output for sequence unpacking test 1997-08-25 22:15:22 +00:00
test_userdict Test suite for UserDict 1999-03-26 15:32:05 +00:00
test_userlist Test suite for UserList. 1999-03-26 16:20:45 +00:00
test_userstring UserString class from Peter Funk <pf@artcom-gmbh.de>. 2000-04-03 03:51:50 +00:00
test_winreg Mark Hammond: test suite for new winreg module. 2000-03-28 20:36:51 +00:00
test_winsound Added test_winsound by Mark Hammond. 2000-04-21 21:28:47 +00:00
test_xmllib Adding output of test_xmllib.py 1998-02-13 16:35:21 +00:00
test_zipfile Output from test_zipfile.py. 2000-04-10 13:24:00 +00:00
test_zlib Use hex() when outputting the various checksums so the test output is the 1998-04-24 18:31:28 +00:00