Skip to content

Commit 5cfa97a

Browse files
post-merge fixup
1 parent 68ac391 commit 5cfa97a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/tests/extension/json/array.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
ExtensionDtype,
4040
)
4141
from pandas.api.types import is_bool_dtype
42-
from pandas.core.arrays.string_arrow import ArrowStringDtype
4342

4443

4544
class JSONDtype(ExtensionDtype):
@@ -195,7 +194,7 @@ def astype(self, dtype, copy=True):
195194
if copy:
196195
return self.copy()
197196
return self
198-
elif isinstance(dtype, (StringDtype, ArrowStringDtype)):
197+
elif isinstance(dtype, StringDtype):
199198
value = self.astype(str) # numpy doesn'y like nested dicts
200199
return dtype.construct_array_type()._from_sequence(value, copy=False)
201200

0 commit comments

Comments
 (0)