Skip the numpy doctests.

They seem like more trouble that they're worth.
This commit is contained in:
Kale Kundert
2017-06-15 14:53:27 -07:00
parent b41852c93b
commit 50769557e8
2 changed files with 3 additions and 3 deletions

View File

@@ -350,11 +350,10 @@ class TestApprox(object):
assert a21 != approx(a12)
def test_doctests(self):
np = pytest.importorskip('numpy')
parser = doctest.DocTestParser()
test = parser.get_doctest(
approx.__doc__,
{'approx': approx ,'np': np},
{'approx': approx},
approx.__name__,
None, None,
)