File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
pandas/tests/extension/json Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 1616import random
1717import string
1818import sys
19- from typing import Type
19+ from typing import Any , Mapping , Type
2020
2121import numpy as np
2222
2727class JSONDtype (ExtensionDtype ):
2828 type = abc .Mapping
2929 name = "json"
30- na_value = UserDict ()
30+ na_value : Mapping [ str , Any ] = UserDict ()
3131
3232 @classmethod
3333 def construct_array_type (cls ) -> Type ["JSONArray" ]:
Original file line number Diff line number Diff line change @@ -138,9 +138,6 @@ ignore_errors=True
138138[mypy-pandas.tests.extension.decimal.test_decimal]
139139ignore_errors =True
140140
141- [mypy-pandas.tests.extension.json.array]
142- ignore_errors =True
143-
144141[mypy-pandas.tests.extension.json.test_json]
145142ignore_errors =True
146143
You can’t perform that action at this time.
0 commit comments