8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6217864 commit b7f83bdCopy full SHA for b7f83bd
Lib/test/test_sqlite3/test_dbapi.py
@@ -1055,6 +1055,9 @@ def tearDown(self):
1055
self.blob.close()
1056
self.cx.close()
1057
1058
+ def test_blob_is_a_blob(self):
1059
+ self.assertIsInstance(self.blob, sqlite.Blob)
1060
+
1061
def test_blob_seek_and_tell(self):
1062
self.blob.seek(10)
1063
self.assertEqual(self.blob.tell(), 10)
Modules/_sqlite/module.c
@@ -697,6 +697,7 @@ module_exec(PyObject *module)
697
}
698
699
pysqlite_state *state = pysqlite_get_state(module);
700
+ ADD_TYPE(module, state->BlobType);
701
ADD_TYPE(module, state->ConnectionType);
702
ADD_TYPE(module, state->CursorType);
703
ADD_TYPE(module, state->PrepareProtocolType);
0 commit comments