Apply changes from pysqlite3.

This commit is contained in:
Charles Leifer 2020-11-04 14:15:32 -06:00
parent 941a18dcac
commit d354b48238
4 changed files with 24 additions and 16 deletions

View file

@ -593,7 +593,7 @@ class BlobTests(unittest.TestCase):
self.assertEqual(self.blob.tell(), 50)
def CheckBlobWriteMoreThenBlobSize(self):
with self.assertRaises(sqlite.OperationalError):
with self.assertRaises(ValueError):
self.blob.write(b"a" * 1000)
def CheckBlobReadAfterRowChange(self):