This commit is contained in:
Charles Leifer 2019-07-22 08:53:03 -05:00
parent e113883eab
commit 51ef96fdf4
5 changed files with 8 additions and 16 deletions

View file

@ -262,7 +262,7 @@ class RegressionTests(unittest.TestCase):
Call a connection with a non-string SQL request: check error handling
of the statement constructor.
"""
self.assertRaises(sqlite.Warning, self.con, 1)
self.assertRaises(TypeError, self.con, 1)
def CheckCollation(self):
def collation_cb(a, b):