Fix failure do to outlawing complex floordiv/mod.

This commit is contained in:
Guido van Rossum 2007-08-03 21:15:23 +00:00
parent ec0c508b0a
commit 4a7fd90d9c
1 changed files with 3 additions and 1 deletions

View File

@ -442,7 +442,9 @@ def floats():
def complexes(): def complexes():
if verbose: print("Testing complex operations...") if verbose: print("Testing complex operations...")
numops(100.0j, 3.0j, skip=['lt', 'le', 'gt', 'ge', 'int', 'long', 'float']) numops(100.0j, 3.0j,
skip=['lt', 'le', 'gt', 'ge', 'int', 'long', 'float',
'divmod', 'mod'])
class Number(complex): class Number(complex):
__slots__ = ['prec'] __slots__ = ['prec']
def __new__(cls, *args, **kwds): def __new__(cls, *args, **kwds):