test_numpy_array.py
9.01 KB
-
Move requires_numpy, etc. decorators to globals · 2a757844
test_eigen.py and test_numpy_*.py have the same @pytest.requires_eigen_and_numpy or @pytest.requires_numpy on every single test; this changes them to use pytest's global `pytestmark = ...` instead to disable the entire module when numpy and/or eigen aren't available.
Jason Rhinelander committed