373
373
except (OSError, IOError):
381
self.assertEqual(complex(0, INF).__getnewargs__(), (0.0, INF))
382
self.assertEqual(complex(INF, 0).__getnewargs__(), (INF, 0.0))
376
384
if float.__getformat__("double").startswith("IEEE"):
377
385
def test_plus_minus_0j(self):
378
386
# test that -0j and 0j literals are not identified