Fix tests

This commit is contained in:
Alexey Milovidov 2024-08-18 22:17:16 +02:00
parent f88b5988c1
commit f97551e2ad
2 changed files with 2 additions and 2 deletions

View File

@ -1608,7 +1608,7 @@ def test_hive_partitioning_without_setting(cluster):
f"blob_path='{path}', format='CSV', structure='{table_format}') WHERE column1=_column1;"
)
pattern = re.compile(
r"DB::Exception: Unknown expression identifier '.*' in scope.*", re.DOTALL
r"DB::Exception: Unknown expression identifier `.*` in scope.*", re.DOTALL
)
with pytest.raises(Exception, match=pattern):

View File

@ -1296,7 +1296,7 @@ def test_hive_partitioning_without_setting(started_cluster):
== f"Elizabeth\tGordon\n"
)
pattern = re.compile(
r"DB::Exception: Unknown expression identifier '.*' in scope.*", re.DOTALL
r"DB::Exception: Unknown expression identifier `.*` in scope.*", re.DOTALL
)
with pytest.raises(QueryRuntimeException, match=pattern):