Merge pull request #5977 from blueyed/numpy

tests: keep numpy being optional
This commit is contained in:
Bruno Oliveira 2019-10-16 20:13:29 -03:00 committed by GitHub
commit 3cb1457e6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,6 @@ def main():
"mock",
"nose",
"requests",
"numpy",
"xmlschema",
]
},

View File

@ -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