Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
gagolews committed Jun 17, 2024
1 parent 2bd3086 commit c953491
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .devel/pytest/test_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@

try:
import mlpack
except ImportError:
except:
mlpack = None

try:
import nmslib
except ImportError:
except:
nmslib = None


Expand Down Expand Up @@ -58,7 +58,7 @@ def test_cache(metric='euclidean'):

for C in [genieclust.Genie, genieclust.GIc]:
for exact in [True, False]:
if not exact and not nmslib:
if not exact and (not nmslib or not mlpack):
continue

for M in [10,2,1]:
Expand Down
2 changes: 1 addition & 1 deletion .devel/pytest/test_genie.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

try:
import mlpack
except ImportError:
except:
mlpack = None


Expand Down
4 changes: 2 additions & 2 deletions .devel/pytest/test_warnerr.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@

try:
import mlpack
except ImportError:
except:
mlpack = None

try:
import nmslib
except ImportError:
except:
nmslib = None


Expand Down

0 comments on commit c953491

Please sign in to comment.