Skip to content

Commit 0dfb8c4

Browse files
author
Erlend Egeberg Aasland
authored
bpo-24139: Fix test_sqlite3 test_extended_error_code_on_exception() on s390x RHEL buildbots (GH-29382)
1 parent 456e27a commit 0dfb8c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_sqlite3/test_dbapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ def test_extended_error_code_on_exception(self):
317317
with managed_connect(":memory:", in_mem=True) as con:
318318
with con:
319319
con.execute("create table t(t integer check(t > 0))")
320-
errmsg = "CHECK constraint failed"
320+
errmsg = "constraint failed"
321321
with self.assertRaisesRegex(sqlite.IntegrityError, errmsg) as cm:
322322
con.execute("insert into t values(-1)")
323323
exc = cm.exception

0 commit comments

Comments
 (0)