Skip to content

Commit 3cb1457

Browse files
authored
Merge pull request #5977 from blueyed/numpy
tests: keep numpy being optional
2 parents 77a995f + 90dfee5 commit 3cb1457

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ def main():
2828
"mock",
2929
"nose",
3030
"requests",
31-
"numpy",
3231
"xmlschema",
3332
]
3433
},

testing/python/fixtures.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4190,6 +4190,8 @@ def test_check_fixture_instantiations():
41904190

41914191

41924192
def test_fixture_parametrization_nparray(testdir):
4193+
pytest.importorskip("numpy")
4194+
41934195
testdir.makepyfile(
41944196
"""
41954197
from numpy import linspace

0 commit comments

Comments
 (0)