Skip to content

Commit 4fc4aca

Browse files
committed
[TEST] Adapt tests to new pytest changes
1 parent 014bada commit 4fc4aca

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/test_common/test_modules/test_dual.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,6 @@ def test_find_edges_intersection_step_by_step(simple_model, simple_grid_3d_octre
394394
xyz_on_edge, gradients, a, b, v_pro, np.array(v_mesh), indices=None,
395395
plot_label=False, plot_marching_cubes=False)
396396

397-
return xyz_on_edge, gradients
398-
399397

400398
@pytest.mark.skipif(BackendTensor.engine_backend != AvailableBackends.numpy, reason="Only numpy supported")
401399
def test_find_edges_intersection_pro(simple_model, simple_grid_3d_octree):
@@ -503,8 +501,6 @@ def test_find_edges_intersection_pro(simple_model, simple_grid_3d_octree):
503501
v_pro=v_pro, indices=indices, plot_marching_cubes=True
504502
)
505503

506-
return xyz_on_edge, gradients
507-
508504

509505
@pytest.mark.skipif(BackendTensor.engine_backend != AvailableBackends.numpy, reason="Only numpy supported")
510506
def test_find_edges_intersection_bias_on_center_of_the_cell(simple_model, simple_grid_3d_octree):
@@ -608,8 +604,6 @@ def test_find_edges_intersection_bias_on_center_of_the_cell(simple_model, simple
608604
v_pro=v_pro, indices=indices, plot_marching_cubes=True
609605
)
610606

611-
return xyz_on_edge, gradients
612-
613607

614608
# * ======================= Private functions =======================
615609

0 commit comments

Comments
 (0)