Skip to content

Commit 0bfeccb

Browse files
Dharin-shahevertlammerts
authored andcommitted
fix precommit
1 parent e3e4b96 commit 0bfeccb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/fast/test_relation.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,13 @@ def test_value_relation(self, duckdb_cursor):
280280
rel = duckdb_cursor.values((const(1), const(2), const(3)), const(4))
281281

282282
# Using Expressions that can't be resolved:
283+
# Accept both historical and current Binder error message variants
283284
with pytest.raises(
284-
duckdb.BinderException, match='Referenced column "a" was not found because the FROM clause is missing'
285+
duckdb.BinderException,
286+
match=(
287+
r'Referenced column "a" not found in FROM clause!|'
288+
r'Referenced column "a" was not found because the FROM clause is missing'
289+
),
285290
):
286291
duckdb_cursor.values(duckdb.ColumnExpression("a"))
287292

0 commit comments

Comments
 (0)