summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_complex.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-12-29 17:34:57 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-12-29 17:34:57 (GMT)
commit77902970c598c068a2916e86ca386d1387c4c369 (patch)
treebd54233006108ca4973c6273bc342f44259f0742 /Lib/test/test_complex.py
parent5a0f010c672c680eb0794a9e443f92b43e29301d (diff)
downloadcpython-77902970c598c068a2916e86ca386d1387c4c369.zip
cpython-77902970c598c068a2916e86ca386d1387c4c369.tar.gz
cpython-77902970c598c068a2916e86ca386d1387c4c369.tar.bz2
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 1fa0ee0..ff7bb14 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)