commit | b1295da59e90f85c71cd5591eff38376017f5e43 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Mon Apr 01 18:59:20 2002 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Mon Apr 01 18:59:20 2002 +0000 |
tree | 020815085ce7b1282f554a4772bd26dda39965e1 | |
parent | 8392f3657904969f3c4217b4bb9028fd40bfa555 [diff] [blame] |
There is no TestError, use TestFailed appropriately
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 @@ 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..."