Skip to content

Commit

Permalink
bypass hdbscan test in case of exceptional import(doesn't exist in th…
Browse files Browse the repository at this point in the history
…e associated python version)
  • Loading branch information
AHReccese committed Dec 27, 2023
1 parent 3d34029 commit 0e3e1a2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_clusterings/test_clusterings.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,9 @@ def reset_exported_models_directory():
def test_full():
for category in CLUSTERINGS:
for model in CLUSTERINGS[category]:
if isinstance(model, tuple):
func, model_name = model
if func == None:
print("Model: " + model_name + " is not supported in this python version.")
continue
model()

0 comments on commit 0e3e1a2

Please sign in to comment.