Skip to content

Commit

Permalink
ignore mypy error "Call to untyped function "load" in typed context"
Browse files Browse the repository at this point in the history
  • Loading branch information
timrid committed Feb 13, 2022
1 parent 5533a79 commit 834d244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_core.py
Expand Up @@ -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
Expand Down

0 comments on commit 834d244

Please sign in to comment.