diff options
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2021-11-03 10:35:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-03 17:35:42 +0800 |
commit | 0dfb8c4afee65f9e185882efd57f7012120da74c (patch) | |
tree | 37386bc5f1307603786c9433faac1e9db791c09a /Lib/test/test_sqlite3/test_dbapi.py | |
parent | 456e27ac0ac6bc1cfd6da0191bd7802d8667457b (diff) | |
download | cpython-0dfb8c4afee65f9e185882efd57f7012120da74c.tar.gz cpython-0dfb8c4afee65f9e185882efd57f7012120da74c.zip |
bpo-24139: Fix test_sqlite3 `test_extended_error_code_on_exception()` on s390x RHEL buildbots (GH-29382)
Diffstat (limited to 'Lib/test/test_sqlite3/test_dbapi.py')
-rw-r--r-- | Lib/test/test_sqlite3/test_dbapi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_sqlite3/test_dbapi.py b/Lib/test/test_sqlite3/test_dbapi.py index 0ba313d9298..998b7cb8c7f 100644 --- a/Lib/test/test_sqlite3/test_dbapi.py +++ b/Lib/test/test_sqlite3/test_dbapi.py @@ -317,7 +317,7 @@ class ModuleTests(unittest.TestCase): with managed_connect(":memory:", in_mem=True) as con: with con: con.execute("create table t(t integer check(t > 0))") - errmsg = "CHECK constraint failed" + errmsg = "constraint failed" with self.assertRaisesRegex(sqlite.IntegrityError, errmsg) as cm: con.execute("insert into t values(-1)") exc = cm.exception |