message: Test BettiCurve with infinite value
  + black reformatting
diff: @@ -43,7 +43,7 @@ def test_multiple():
  d1 = pairwise_persistence_diagram_distances(l1, l2, metric="wasserstein", order=2, internal_p=2)
  d2 = WassersteinDistance(order=2, internal_p=2, n_jobs=4).fit(l2).transform(l1)
  print(d1.shape, d2.shape)
  - assert d1 == pytest.approx(d2, rel=.02)
  + assert d1 == pytest.approx(d2, rel=0.02)
  def test_dummy_atol():
  @@ -53,8 +53,22 @@ def test_dummy_atol():
  for weighting_method in ["cloud", "iidproba"]:
  for contrast in ["gaussian", "laplacian", "indicator"]:
  - atol_vectoriser = Atol(quantiser=KMeans(n_clusters=1, random_state=202006), weighting_method=weighting_method, contrast=contrast)
  + atol_vectoriser = Atol(
  + quantiser=KMeans(n_clusters=1, random_state=202006),
  + weighting_method=weighting_method,
  + contrast=contrast,
  + )
  atol_vectoriser.fit([a, b, c])
  atol_vectoriser(a)
  atol_vectoriser.transform(X=[a, b, c])
  +
  +from gudhi.representations.vector_methods import BettiCurve
  +
  +
  +def test_infinity():
  + a = np.array([[1.0, 8.0], [2.0, np.inf], [3.0, 4.0]])
  + c = BettiCurve(20, [0.0, 10.0])(a)
  + assert c[1] == 0
  + assert c[7] == 3
  + assert c[9] == 2
  