You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Small logic correction in run-time test.
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -15,7 +15,6 @@ if PYTHON_VERSION > 2.4:
|
|||||||
assert str(float("inf") * 0.0) == "nan"
|
assert str(float("inf") * 0.0) == "nan"
|
||||||
else:
|
else:
|
||||||
assert str(float("inf") * 0.0) == "-nan"
|
assert str(float("inf") * 0.0) == "-nan"
|
||||||
assert str(float("-inf") * 0.0) == "nan"
|
|
||||||
assert -1e300 * 1e300 == float("-inf")
|
assert -1e300 * 1e300 == float("-inf")
|
||||||
|
|
||||||
# Complex (adapted from 02_complex.py)
|
# Complex (adapted from 02_complex.py)
|
||||||
|
Reference in New Issue
Block a user