I noticed this was missing while writing typeshed stubs. It's
useful to expose it for use in annotations and for exploration.
self.blob.close()
self.cx.close()
+ def test_blob_is_a_blob(self):
+ self.assertIsInstance(self.blob, sqlite.Blob)
+
def test_blob_seek_and_tell(self):
self.blob.seek(10)
self.assertEqual(self.blob.tell(), 10)
}
pysqlite_state *state = pysqlite_get_state(module);
+ ADD_TYPE(module, state->BlobType);
ADD_TYPE(module, state->ConnectionType);
ADD_TYPE(module, state->CursorType);
ADD_TYPE(module, state->PrepareProtocolType);