Skip to content

Commit

Permalink
remove not useful test
Browse files Browse the repository at this point in the history
  • Loading branch information
jitingxu1 committed Sep 13, 2024
1 parent c156061 commit f578721
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions tests/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,10 @@

@pytest.mark.parametrize("optional_dep", ["pandas", "numpy", "pyarrow"])
def test_optional_dependencies(optional_dep):
with mock.patch.dict(sys.modules, {'optional_dependency': None}):
with mock.patch.dict(sys.modules, {"optional_dependency": None}):
if "ibis_ml" in sys.modules:
reload(sys.modules["ibis_ml"])
else:
import_module("ibis_ml")

assert "ibis_ml" in sys.modules


def test_import():
try:
import_module("ibis_ml")
except AttributeError:
raise ImportError("cannot import IbisML") from None
assert "ibis_ml" in sys.modules

0 comments on commit f578721

Please sign in to comment.