Skip to content

Commit 7a39473

Browse files
committed
Remove xfail on test_field_structured_grid_creation
1 parent b1644cb commit 7a39473

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

tests/v4/test_field.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,9 @@ def test_field_incompatible_combination(data, grid):
5454
[
5555
pytest.param(
5656
structured_datasets["ds_2d_left"]["data_g"], Grid(structured_datasets["ds_2d_left"]), id="ds_2d_left"
57-
),
57+
), # TODO: Perhaps this test should be expanded to cover more datasets?
5858
],
5959
)
60-
@pytest.mark.xfail(reason="Structured grid creation is not implemented yet")
6160
def test_field_structured_grid_creation(data, grid):
6261
"""Test creating a field."""
6362
field = Field(
@@ -66,15 +65,10 @@ def test_field_structured_grid_creation(data, grid):
6665
grid=grid,
6766
)
6867
assert field.name == "test_field"
69-
assert field.data == data
68+
assert field.data.equals(data)
7069
assert field.grid == grid
7170

7271

73-
def test_field_structured_grid_creation_spherical():
74-
# Field(..., mesh_type="spherical")
75-
...
76-
77-
7872
def test_field_unstructured_grid_creation(): ...
7973

8074

0 commit comments

Comments
 (0)