File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ def test_incompatible_non_primitive_type() -> None:
286286 with pytest .raises (ValidationError ) as exc :
287287 spec .check_compatible (schema )
288288
289- assert "Cannot partition by non-primitive source field: struct<>" in str (exc .value )
289+ assert "Cannot partition by non-primitive source field: 1: foo: optional struct<>" in str (exc .value )
290290
291291
292292def test_incompatible_transform_source_type () -> None :
@@ -297,4 +297,4 @@ def test_incompatible_transform_source_type() -> None:
297297 with pytest .raises (ValidationError ) as exc :
298298 spec .check_compatible (schema )
299299
300- assert "Invalid source type int for transform: year" in str (exc .value )
300+ assert "Invalid source field foo with type int for transform: year" in str (exc .value )
You can’t perform that action at this time.
0 commit comments