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 8eb783e commit d3186beCopy full SHA for d3186be
Lib/test/test_sqlite3/test_userfunctions.py
@@ -340,7 +340,8 @@ def test_too_large_int(self):
340
"select spam(?)", (1 << 65,))
341
342
def test_non_contiguous_blob(self):
343
- self.assertRaisesRegex(ValueError, "could not convert BLOB to buffer",
+ self.assertRaisesRegex(BufferError,
344
+ "underlying buffer is not C-contiguous",
345
self.con.execute, "select spam(?)",
346
(memoryview(b"blob")[::2],))
347
0 commit comments