mirror of
https://github.com/python/cpython.git
synced 2025-11-29 06:22:10 +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 :
|
else :
|
||||||
if verbose:
|
if verbose:
|
||||||
print "values= %r" % (values,)
|
print "values= %r" % (values,)
|
||||||
raise "Wrong values returned!"
|
raise RuntimeError("Wrong values returned!")
|
||||||
|
|
||||||
def test03(self):
|
def test03(self):
|
||||||
tabname = "test03"
|
tabname = "test03"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue