message: Catch warnings in wasserstein test
diff: @@ -90,6 +90,7 @@ def test_get_essential_parts():
  def test_warn_infty():
  + with pytest.warns(UserWarning):
  assert _warn_infty(matching=False)==np.inf
  c, m = _warn_infty(matching=True)
  assert (c == np.inf)
  