summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_descr.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-04-01 18:59:20 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-04-01 18:59:20 (GMT)
commitb1295da59e90f85c71cd5591eff38376017f5e43 (patch)
tree020815085ce7b1282f554a4772bd26dda39965e1 /Lib/test/test_descr.py
parent8392f3657904969f3c4217b4bb9028fd40bfa555 (diff)
downloadcpython-b1295da59e90f85c71cd5591eff38376017f5e43.zip
cpython-b1295da59e90f85c71cd5591eff38376017f5e43.tar.gz
cpython-b1295da59e90f85c71cd5591eff38376017f5e43.tar.bz2
There is no TestError, use TestFailed appropriately
Diffstat (limited to 'Lib/test/test_descr.py')
-rw-r--r--Lib/test/test_descr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
index f52edb6..862fc77 100644
--- a/Lib/test/test_descr.py
+++ b/Lib/test/test_descr.py
@@ -785,7 +785,7 @@ def metaclass():
c = C()
try: c()
except TypeError: pass
- else: raise TestError, "calling object w/o call method should raise TypeError"
+ else: raise TestFailed, "calling object w/o call method should raise TypeError"
def pymods():
if verbose: print "Testing Python subclass of module..."