10000 * complex_bool: L580 · python/cpython@e1c247f · GitHub
[go: up one dir, main page]

Skip to content

Commit e1c247f

Browse files
committed
* complex_bool: L580
1 parent c25563c commit e1c247f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Lib/test/test_complex.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,9 @@ def test_boolcontext(self):
334334
self.assertTrue(complex(random() + 1e-6, random() + 1e-6))
335335
self.assertTrue(not complex(0.0, 0.0))
336336

337+
def test_bo 5402 ol(self):
338+
self.assertTrue(1j)
339+
337340
def test_conjugate(self):
338341
self.assertClose(complex(5.3, 9.8).conjugate(), 5.3-9.8j)
339342

0 commit comments

Comments
 (0)
0