Skip to content

Commit 325c447

Browse files
committed
tests/float/complex1: Split out intbig test.
1 parent 96aa3a3 commit 325c447

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

tests/float/complex1.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@
4949
print(float('inf') * (1 + 1j))
5050
print(float('-inf') * (1 + 1j))
5151

52-
# convert bignum to complex on rhs
53-
ans = 1j + (1 << 70); print("%.5g %.5g" % (ans.real, ans.imag))
54-
5552
# can't assign to attributes
5653
try:
5754
(1j).imag = 0

tests/float/complex1_intbig.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# test basic complex number functionality
2+
3+
# convert bignum to complex on rhs
4+
ans = 1j + (1 << 70); print("%.5g %.5g" % (ans.real, ans.imag))

0 commit comments

Comments
 (0)