Skip to content

Commit be0b5f9

Browse files
committed
Remove redundant TF check from emd2 test
1 parent cf99e34 commit be0b5f9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/test_ot.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,6 @@ def test_emd_emd2_types_devices(nx):
103103

104104
@pytest.mark.skipif(not tf, reason="tf not installed")
105105
def test_emd_emd2_devices_tf():
106-
if not tf:
107-
return
108106
nx = ot.backend.TensorflowBackend()
109107

110108
n_samples = 100

0 commit comments

Comments
 (0)