diff options
author | Guido van Rossum <guido@python.org> | 2006-08-21 18:27:07 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2006-08-21 18:27:07 (GMT) |
commit | 18a67ba0bd6d23da454e975f814dad50d7e09cdb (patch) | |
tree | 7e4e5bbf150af0df14030e184c9a6f4a5548b0f7 /BROKEN | |
parent | 4886cc331ff158f8ede74878a436adfad205bd2d (diff) | |
download | cpython-18a67ba0bd6d23da454e975f814dad50d7e09cdb.zip cpython-18a67ba0bd6d23da454e975f814dad50d7e09cdb.tar.gz cpython-18a67ba0bd6d23da454e975f814dad50d7e09cdb.tar.bz2 |
Fix comparing complex to non-complex numbers.
Diffstat (limited to 'BROKEN')
-rw-r--r-- | BROKEN | 28 |
1 files changed, 0 insertions, 28 deletions
@@ -110,31 +110,3 @@ Traceback (most recent call last): File "../Lib/test/test_set.py", line 291, in test_remove self.assert_(self.thetype(self.word) in s) AssertionError - -//////////////////////////////////////////////////////////////////////// -test_compare -//////////////////////////////////////////////////////////////////////// -test test_compare failed -- Traceback (most recent call last): - File "/Users/nnorwitz/build/python/py3k.2/Lib/test/test_compare.py", line 28, in test_comparisons - self.assertEqual(a, b) -AssertionError: 2 != (2+0j) - -//////////////////////////////////////////////////////////////////////// -test_complex -//////////////////////////////////////////////////////////////////////// -====================================================================== -FAIL: test_pow (test.test_complex.ComplexTest) ----------------------------------------------------------------------- -Traceback (most recent call last): - File "/Users/nnorwitz/build/python/py3k.2/Lib/test/test_complex.py", line 130, in test_pow - self.assertEqual(a ** 0j, 1) -AssertionError: (1+0j) != 1 - -====================================================================== -FAIL: test_richcompare (test.test_complex.ComplexTest) ----------------------------------------------------------------------- -Traceback (most recent call last): - File "/Users/nnorwitz/build/python/py3k.2/Lib/test/test_complex.py", line 96, in test_richcompare - self.assertRaises(OverflowError, complex.__eq__, 1+1j, 1L<<10000) -AssertionError: OverflowError not raised - |