Removed test mock dependency - useless
import numpy as np
import pytest
import umap
-from unittest import mock
# Globals, used for all the tests
SEED = 189212 # 0b101110001100011100
@@ -22,16 +21,6 @@ def mapper(iris):
return umap.UMAP(n_epochs=100).fit(iris.data)
-def test_umap_plot_dependency():
- with mock.patch.dict("sys.modules", pandas=mock.MagicMock()):
- try:
- from umap import plot
- except:
- assert True
- else:
- assert False, "Exception not raised for missing dependency"
-
-
# These tests requires revision: Refactoring is
# needed as there is no assertion nor
# property verification.
