File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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" )
6160def 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-
7872def test_field_unstructured_grid_creation (): ...
7973
8074
You can’t perform that action at this time.
0 commit comments