mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-69093: Don't allow instantiation of sqlite3.Blob objects (GH-91570)
This commit is contained in:
parent
72965981d1
commit
d104f4d21f
2 changed files with 2 additions and 1 deletions
|
@ -356,6 +356,7 @@ class ModuleTests(unittest.TestCase):
|
|||
def test_disallow_instantiation(self):
|
||||
cx = sqlite.connect(":memory:")
|
||||
check_disallow_instantiation(self, type(cx("select 1")))
|
||||
check_disallow_instantiation(self, sqlite.Blob)
|
||||
|
||||
def test_complete_statement(self):
|
||||
self.assertFalse(sqlite.complete_statement("select t"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue