Reverting the Revision: 77368. I committed Flox's big patch for tests by

mistake. ( It may come in for sure tough)
This commit is contained in:
Senthil Kumaran 2010-01-08 19:04:16 +00:00
parent 3ddc435af6
commit ce8e33a095
107 changed files with 436 additions and 794 deletions

View file

@ -43,10 +43,6 @@ class DummyFloat(object):
assert False, "__sub__ should not be invoked for comparisons"
__rsub__ = __sub__
# Silence Py3k warning
def __hash__(self):
assert False, "__hash__ should not be invoked for comparisons"
class DummyRational(object):
"""Test comparison of Fraction with a naive rational implementation."""
@ -80,11 +76,6 @@ class DummyRational(object):
def __float__(self):
assert False, "__float__ should not be invoked"
# Silence Py3k warning
def __hash__(self):
assert False, "__hash__ should not be invoked for comparisons"
class GcdTest(unittest.TestCase):
def testMisc(self):