Skip to content

Commit f1eceaf

Browse files
author
Erlend E. Aasland
committed
Add empty blob test
1 parent 51f1886 commit f1eceaf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Lib/sqlite3/test/userfunctions.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,10 @@ def test_any_arguments(self):
276276
val = cur.fetchone()[0]
277277
self.assertEqual(val, 2)
278278

279+
def test_empty_blob(self):
280+
cur = self.con.execute("select isblob(x'')")
281+
self.assertTrue(cur.fetchone()[0])
282+
279283
# Regarding deterministic functions:
280284
#
281285
# Between 3.8.3 and 3.15.0, deterministic functions were only used to

0 commit comments

Comments
 (0)