diff --git a/numpy_ml/tests/test_preprocessing.py b/numpy_ml/tests/test_preprocessing.py index 22b8d6f..b9d82d9 100644 --- a/numpy_ml/tests/test_preprocessing.py +++ b/numpy_ml/tests/test_preprocessing.py @@ -2,8 +2,8 @@ from collections import Counter # gold-standard imports -import huffman import numpy as np +import pytest from scipy.fftpack import dct @@ -34,6 +34,7 @@ def test_huffman(N=15): + huffman = pytest.importorskip("huffman") np.random.seed(12345) i = 0