Kaydet (Commit) 9e28107c authored tarafından Georg Brandl's avatar Georg Brandl

Test case for latest complexobject fix.

üst 116f16e4
......@@ -310,6 +310,8 @@ class ComplexTest(unittest.TestCase):
self.assertEqual(repr(1+6j), '(1+6j)')
self.assertEqual(repr(1-6j), '(1-6j)')
self.assertNotEqual(repr(-(1+0j)), '(-1+-0j)')
def test_neg(self):
self.assertEqual(-(1+6j), -1-6j)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment