Skip to content
Prev Previous commit
Next Next commit
+ fix typo
  • Loading branch information
skirpichev committed Sep 27, 2024
commit 338176d66160bbbd021f6b11d3d5299e8358bb34
4 changes: 2 additions & 2 deletions Lib/test/test_complex.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ def test_mul(self):
(complex(NAN, 1e200), complex(NAN, 1e200), complex(-INF, NAN)),
(complex(NAN, NAN), complex(NAN, NAN), complex(NAN, NAN))]:
with self.subTest(z=z, w=w, r=r):
self.assertComplexesAreIdentical(z * w, s)
self.assertComplexesAreIdentical(w * z, s)
self.assertComplexesAreIdentical(z * w, r)
self.assertComplexesAreIdentical(w * z, r)

def test_mod(self):
# % is no longer supported on complex numbers
Expand Down