ignore mypy error "Call to untyped function "load" in typed context"

This commit is contained in:
Tim Rid 2022-02-13 01:14:01 +01:00
parent 5533a7923e
commit 834d244eda

View file

@ -634,7 +634,7 @@ def test_numpy() -> None:
@pytest.mark.xfail(reason="docs stated that it throws StreamError, not true at all")
def test_numpy_error() -> None:
import numpy, io
numpy.load(io.BytesIO(b""))
numpy.load(io.BytesIO(b"")) # type: ignore
def test_namedtuple() -> None:
import collections