diff --git a/pandas/tests/extension/json/array.py b/pandas/tests/extension/json/array.py index 9e741bb7f267c..1ba1b872fa5e2 100644 --- a/pandas/tests/extension/json/array.py +++ b/pandas/tests/extension/json/array.py @@ -16,7 +16,7 @@ import random import string import sys -from typing import Type +from typing import Any, Mapping, Type import numpy as np @@ -27,7 +27,7 @@ class JSONDtype(ExtensionDtype): type = abc.Mapping name = "json" - na_value = UserDict() + na_value: Mapping[str, Any] = UserDict() @classmethod def construct_array_type(cls) -> Type["JSONArray"]: diff --git a/setup.cfg b/setup.cfg index cf931f52489a8..c298aa652824c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -138,9 +138,6 @@ ignore_errors=True [mypy-pandas.tests.extension.decimal.test_decimal] ignore_errors=True -[mypy-pandas.tests.extension.json.array] -ignore_errors=True - [mypy-pandas.tests.extension.json.test_json] ignore_errors=True