Skip to content

Commit 1a4c5ce

Browse files
committed
Remove non-optional optional dependencies
1 parent 35ccac0 commit 1a4c5ce

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

tests/test_utils.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -219,24 +219,3 @@ def test_im2ccs_different_charges(self):
219219

220220
assert ccs_z2 != ccs_z3
221221
assert ccs_z2 > 0 and ccs_z3 > 0
222-
223-
224-
class TestOptionalDependencies:
225-
"""Tests for optional dependency checking."""
226-
227-
def test_check_optional_dependencies_available(self):
228-
"""Test checking for optional dependencies."""
229-
try:
230-
from im2deep.utils import check_optional_dependencies
231-
232-
# This will raise if dependencies are missing
233-
check_optional_dependencies()
234-
except ImportError:
235-
pytest.skip("Optional dependencies not installed")
236-
237-
@pytest.mark.skipif(True, reason="Complex mocking can cause recursion issues")
238-
def test_check_optional_dependencies_missing(self):
239-
"""Test error message when optional dependencies are missing."""
240-
# This test is skipped as mocking __import__ can cause recursion issues
241-
# The function behavior is tested through integration tests instead
242-
pass

0 commit comments

Comments
 (0)