mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
make TestFailed a class exception
This commit is contained in:
parent
018dfae246
commit
4d06923122
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
# Python test set -- supporting definitions.
|
||||
|
||||
TestFailed = 'test_support -- test failed' # Exception
|
||||
class TestFailed(Exception):
|
||||
pass
|
||||
|
||||
verbose = 1 # Flag set to 0 by regrtest.py
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue