mirror of https://github.com/python/cpython
Fix failure do to outlawing complex floordiv/mod.
This commit is contained in:
parent
ec0c508b0a
commit
4a7fd90d9c
|
@ -442,7 +442,9 @@ def floats():
|
|||
|
||||
def complexes():
|
||||
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):
|
||||
__slots__ = ['prec']
|
||||
def __new__(cls, *args, **kwds):
|
||||
|
|
Loading…
Reference in New Issue