diff options
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2022-04-15 16:25:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-15 16:25:03 (GMT) |
commit | d104f4d21f735693ea93fe65ea4b4e1aa1779343 (patch) | |
tree | a3ae2169fb7e73fe8bf5beb394b80c1dd37edb7b /Lib/test/test_sqlite3 | |
parent | 72965981d1128b3923dad5e850c8cff626ae4dc7 (diff) | |
download | cpython-d104f4d21f735693ea93fe65ea4b4e1aa1779343.zip cpython-d104f4d21f735693ea93fe65ea4b4e1aa1779343.tar.gz cpython-d104f4d21f735693ea93fe65ea4b4e1aa1779343.tar.bz2 |
gh-69093: Don't allow instantiation of sqlite3.Blob objects (GH-91570)
Diffstat (limited to 'Lib/test/test_sqlite3')
-rw-r--r-- | Lib/test/test_sqlite3/test_dbapi.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_sqlite3/test_dbapi.py b/Lib/test/test_sqlite3/test_dbapi.py index 6613d5f..b010813 100644 --- a/Lib/test/test_sqlite3/test_dbapi.py +++ b/Lib/test/test_sqlite3/test_dbapi.py @@ -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")) |