commit | 9e28107ce8022a7c661b9219fb6e21a9de591b3f | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sat Sep 17 07:51:15 2005 +0000 |
committer | Georg Brandl <georg@python.org> | Sat Sep 17 07:51:15 2005 +0000 |
tree | 61a01209e47e495ddde97e972ac716af08aa4a64 | |
parent | 116f16e4ab9a7cc319ca42ae24221d203d0d8f26 [diff] [blame] |
Test case for latest complexobject fix.
diff --git a/Lib/test/test_complex.py b/Lib/test/test_complex.py index 70e91c1..0d42bd2b 100644 --- a/Lib/test/test_complex.py +++ b/Lib/test/test_complex.py
@@ -310,6 +310,8 @@ 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)