mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
Don't raise a string exception, they don't work anymore.
This commit is contained in:
parent
880605aafd
commit
3884690d69
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ class TableDBTestCase(unittest.TestCase):
|
|||
else :
|
||||
if verbose:
|
||||
print "values= %r" % (values,)
|
||||
raise "Wrong values returned!"
|
||||
raise RuntimeError("Wrong values returned!")
|
||||
|
||||
def test03(self):
|
||||
tabname = "test03"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue