Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_complex.py @ 21595:e56047db6538 legacy-trunk
test_support: add a docstring to vereq().
test_complex: repair new test's usage of vereq().
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Sat, 29 Dec 2001 17:34:57 +0000 |
| parents | 18a70a82af15 |
| children | 226ba34bd998 |
line wrap: on
line diff
--- a/Lib/test/test_complex.py Sat Dec 29 14:31:46 2001 +0000 +++ b/Lib/test/test_complex.py Sat Dec 29 17:34:57 2001 +0000 @@ -63,8 +63,7 @@ if complex(0.0, 0.0): raise TestFailed("complex(0.0, 0.0) should be false") -if vereq(complex(5.3, 9.8).conjugate(), 5.3-9.8j): - raise TestFailed("complex.conjugate() didn't work") +vereq(complex(5.3, 9.8).conjugate(), 5.3-9.8j) try: print int(5+3j)
