Skip to content

Commit 01e4a9d

Browse files
Remove assertions on field shapes (#906)
1 parent 97488a8 commit 01e4a9d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/test_simulation.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,6 @@ def test_structural_temperature(self, static_simulation):
10161016
op = static_simulation._model.operator("BFE")
10171017
field_ref = op.eval()[0]
10181018
assert field.component_count == 1
1019-
assert field.data.shape == (192,)
10201019
assert np.allclose(field.data, field_ref.data)
10211020

10221021
def test_structural_temperature_nodal(self, static_simulation):
@@ -1042,7 +1041,6 @@ def test_structural_temperature_elemental(self, static_simulation):
10421041
op.connect(9, post.locations.elemental)
10431042
field_ref = op.eval()[0]
10441043
assert field.component_count == 1
1045-
assert field.data.shape == (12,)
10461044
assert np.allclose(field.data, field_ref.data)
10471045

10481046
def test_thermal_strain(self, allkindofcomplexity):

0 commit comments

Comments
 (0)