Merge pull request #5977 from blueyed/numpy
tests: keep numpy being optional
This commit is contained in:
commit
3cb1457e6d
1
setup.py
1
setup.py
|
@ -28,7 +28,6 @@ def main():
|
||||||
"mock",
|
"mock",
|
||||||
"nose",
|
"nose",
|
||||||
"requests",
|
"requests",
|
||||||
"numpy",
|
|
||||||
"xmlschema",
|
"xmlschema",
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -4190,6 +4190,8 @@ def test_indirect_fixture_does_not_break_scope(testdir):
|
||||||
|
|
||||||
|
|
||||||
def test_fixture_parametrization_nparray(testdir):
|
def test_fixture_parametrization_nparray(testdir):
|
||||||
|
pytest.importorskip("numpy")
|
||||||
|
|
||||||
testdir.makepyfile(
|
testdir.makepyfile(
|
||||||
"""
|
"""
|
||||||
from numpy import linspace
|
from numpy import linspace
|
||||||
|
|
Loading…
Reference in New Issue