Skip to content

Commit

Permalink
Adapt pythonGH-27642 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Erlend E. Aasland committed Feb 26, 2022
1 parent 8eb783e commit d3186be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Lib/test/test_sqlite3/test_userfunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,8 @@ def test_too_large_int(self):
"select spam(?)", (1 << 65,))

def test_non_contiguous_blob(self):
self.assertRaisesRegex(ValueError, "could not convert BLOB to buffer",
self.assertRaisesRegex(BufferError,
"underlying buffer is not C-contiguous",
self.con.execute, "select spam(?)",
(memoryview(b"blob")[::2],))

Expand Down

0 comments on commit d3186be

Please sign in to comment.