Skip to content

Commit cf99e34

Browse files
committed
Remove redundant check for TF backend
1 parent 2b84679 commit cf99e34

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/test_1d_solver.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ def test_wasserstein_1d_type_devices(nx):
100100

101101
@pytest.mark.skipif(not tf, reason="tf not installed")
102102
def test_wasserstein_1d_device_tf():
103-
if not tf:
104-
return
105103
nx = ot.backend.TensorflowBackend()
106104
rng = np.random.RandomState(0)
107105
n = 10

0 commit comments

Comments
 (0)