mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
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:
parent
3ddc435af6
commit
ce8e33a095
107 changed files with 436 additions and 794 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue