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",
|
||||
"nose",
|
||||
"requests",
|
||||
"numpy",
|
||||
"xmlschema",
|
||||
]
|
||||
},
|
||||
|
|
|
@ -4190,6 +4190,8 @@ def test_indirect_fixture_does_not_break_scope(testdir):
|
|||
|
||||
|
||||
def test_fixture_parametrization_nparray(testdir):
|
||||
pytest.importorskip("numpy")
|
||||
|
||||
testdir.makepyfile(
|
||||
"""
|
||||
from numpy import linspace
|
||||
|
|
Loading…
Reference in New Issue