run total_ordering() tests, and fix the function (default comparisons shouldn't be considered)
diff --git a/Lib/test/test_functools.py b/Lib/test/test_functools.py
index 211ef18..41a98a2 100644
--- a/Lib/test/test_functools.py
+++ b/Lib/test/test_functools.py
@@ -481,7 +481,7 @@
# new methods should not overwrite existing
@functools.total_ordering
class A(int):
- raise Exception()
+ pass
self.assert_(A(1) < A(2))
self.assert_(A(2) > A(1))
self.assert_(A(1) <= A(2))
@@ -564,6 +564,7 @@
TestPartialSubclass,
TestPythonPartial,
TestUpdateWrapper,
+ TestTotalOrdering,
TestWraps,
TestReduce,
TestLRU,