summaryrefslogtreecommitdiff
path: root/Lib/test/test_complex.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-12-29 17:34:57 +0000
committerTim Peters <tim.peters@gmail.com>2001-12-29 17:34:57 +0000
commit7cd33a66395a51c9983aeb8b04a4a0632809b1ce (patch)
treebcbcbc90ee6e67992ee95bbcf4178f5ef73f9ed2 /Lib/test/test_complex.py
parentfb985cb5577e8fa0d7cf7676b4057eb0c8be882f (diff)
downloadcpython-7cd33a66395a51c9983aeb8b04a4a0632809b1ce.tar.gz
test_support: add a docstring to vereq().
test_complex: repair new test's usage of vereq().
Diffstat (limited to 'Lib/test/test_complex.py')
-rw-r--r--Lib/test/test_complex.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_complex.py b/Lib/test/test_complex.py
index 1fa0ee0e7e..ff7bb14335 100644
--- a/Lib/test/test_complex.py
+++ b/Lib/test/test_complex.py
@@ -63,8 +63,7 @@ for i in range(100):
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)