From 0058ead3dbcac9798410d3cf242cc3f176b4f49b Mon Sep 17 00:00:00 2001 From: Max Bachmann Date: Sat, 7 Oct 2023 00:46:40 +0200 Subject: [PATCH] skip another numpy usage --- tests/test_hypothesis.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_hypothesis.py b/tests/test_hypothesis.py index cb6f90bb..3ecaf6a8 100644 --- a/tests/test_hypothesis.py +++ b/tests/test_hypothesis.py @@ -442,6 +442,7 @@ def test_cdist(queries, choices): """ Test that cdist returns correct results """ + pytest.importorskip("numpy") reference_matrix = cdist_distance(queries, choices, scorer=Levenshtein_cpp.distance) matrix1 = process.cdist(queries, choices, scorer=Levenshtein_cpp.distance)