summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_richcmp.py
Commit message (Collapse)AuthorAgeFilesLines
* Must inherit from Exception now.Neal Norwitz2006-03-241-2/+2
|
* patch [ 1141428 ] more __contains__ testsGeorg Brandl2005-08-241-2/+2
|
* Deleting cyclic object comparison.Armin Rigo2003-10-281-42/+21
| | | | | SF patch 825639 http://mail.python.org/pipermail/python-dev/2003-October/039445.html
* Combine the functionality of test_support.run_unittest()Walter Dörwald2003-05-011-1/+1
| | | | | | | | | | and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807.
* Port test_richcmp.py to PyUnit. From SF patch #662807 which additionalWalter Dörwald2003-04-291-179/+276
| | | | tests and comments.
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+1
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* SF patch #421922: Implement rich comparison for dicts.Tim Peters2001-05-081-0/+28
| | | | | | d1 == d2 and d1 != d2 now work even if the keys and values in d1 and d2 don't support comparisons other than ==, and testing dicts for equality is faster now (especially when inequality obtains).
* Whitespace normalization.Tim Peters2001-01-191-1/+1
|
* Since I'm about to check in a change to the recursion-detection codeGuido van Rossum2001-01-181-17/+10
| | | | | for comparisons that outlaws requets for ordering on recursive data structures, remove the tests for ordering recursive data structures.
* Add test for comparing recursive data types.Guido van Rossum2001-01-181-1/+42
|
* Add test for misbehaving rich comparisons (always returning 0) --Guido van Rossum2001-01-181-1/+23
| | | | these fall back to __cmp__.
* Rich comparison testsGuido van Rossum2001-01-181-0/+177