summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_functools.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_functools.py')
-rw-r--r--Lib/test/test_functools.py3
1 files changed, 2 insertions, 1 deletions
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 @@ class TestTotalOrdering(unittest.TestCase):
# 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 @@ def test_main(verbose=None):
TestPartialSubclass,
TestPythonPartial,
TestUpdateWrapper,
+ TestTotalOrdering,
TestWraps,
TestReduce,
TestLRU,