Skip to content

Commit ce25d4d

Browse files
committed
fix: codestyle
1 parent 469774a commit ce25d4d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/test_field.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -425,8 +425,9 @@ def test_append_data_elemental_nodal_field(allkindofcomplexity):
425425
for i in range(0, size):
426426
assert np.allclose(f_new.get_entity_data(i), f.get_entity_data(i))
427427

428+
428429
def test_distinct_fields_created_from_views():
429-
points = np.array([[1,2,3],[4,5,6], [7,8,9]])
430+
points = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]])
430431
points_transpose = points.T
431432

432433
coordinates_field_one = dpf.core.fields_factory.create_3d_vector_field(len(points))
@@ -436,9 +437,10 @@ def test_distinct_fields_created_from_views():
436437
coordinates_field_two = dpf.core.fields_factory.create_3d_vector_field(len(points_transpose))
437438
coordinates_field_two.data = points_transpose
438439
coordinates_field_two.scoping.ids = range(1, len(coordinates_field_two.data))
439-
440+
440441
check_data_equality = (coordinates_field_one.data == coordinates_field_two.data).all()
441-
assert check_data_equality == False
442+
assert check_data_equality == False
443+
442444

443445
def test_str_field(stress_field):
444446
assert "Location" in str(stress_field)

0 commit comments

Comments
 (0)