Commits

Georg Brandl  committed 0da3975

Test case for latest complexobject fix.

  • Participants
  • Parent commits 0ae3072
  • Branches 2.4

Comments (0)

Files changed (1)

File Lib/test/test_complex.py

         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)