diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-04-01 18:59:20 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-04-01 18:59:20 (GMT) |
commit | b1295da59e90f85c71cd5591eff38376017f5e43 (patch) | |
tree | 020815085ce7b1282f554a4772bd26dda39965e1 /Lib/test/test_descr.py | |
parent | 8392f3657904969f3c4217b4bb9028fd40bfa555 (diff) | |
download | cpython-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.py | 2 |
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..." |