summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tuple.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #7466: segmentation fault when the garbage collector is calledAntoine Pitrou2009-12-121-0/+3
| | | | | | in the middle of populating a tuple. Patch by Florent Xicluna. (note: no NEWS entry for trunk since the bug was introduced in 2.7/3.1)
* convert usage of fail* to assert*Benjamin Peterson2009-06-301-6/+6
|
* Issue #4688: Add a heuristic so that tuples and dicts containing onlyAntoine Pitrou2009-03-231-0/+65
| | | | | | | | | untrackable objects are not tracked by the garbage collector. This can reduce the size of collections and therefore the garbage collection overhead on long-running programs, depending on their particular use of datatypes. (trivia: this makes the "binary_trees" benchmark from the Computer Language Shootout 40% faster)
* Moved testing of builtin types out of test_builtin and into type specific ↵Benjamin Peterson2008-05-031-0/+7
| | | | modules
* Patch #2167 from calvin: Remove unused importsChristian Heimes2008-02-231-1/+0
|
* Improve test coverage.Raymond Hettinger2004-09-301-0/+11
|
* test_hash(): The test here is different enough from the one in the bugTim Peters2004-06-011-3/+7
| | | | | report that the stats for expected # of collisions are a little higher. Updated comments accordingly.
* SF bug #942952: Weakness in tuple hashRaymond Hettinger2004-06-011-0/+19
| | | | | | | (Basic approach and test concept by Tim Peters.) * Improved the hash to reduce collisions. * Added the torture test to the test suite.
* Move list and tuple tests from test_types.py to their own scripts:Walter Dörwald2003-12-081-0/+49
test_tuple.py and test_list.py. Common tests for tuple, list and UserList are shared (in seq_tests.py and list_tests.py). Port tests to PyUnit. (From SF patch #736962)