File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
pandas/tests/arrays/categorical Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 22import pyarrow as pa
33import pytest
44
5- from pandas .core .dtypes .dtypes import CategoricalDtype
5+ from pandas .core .dtypes .dtypes import (
6+ ArrowDtype ,
7+ CategoricalDtype ,
8+ )
69
710from pandas import (
811 Categorical ,
1215 Series ,
1316 Timestamp ,
1417)
15- from pandas .core .dtypes .dtypes import ArrowDtype
1618import pandas ._testing as tm
1719
1820
@@ -141,14 +143,14 @@ def test_interval_index_category(self):
141143
142144 def test_values_is_index ():
143145 # GH 60563
144- values = Index (['a1' , 'a2' ], dtype = ArrowDtype (pa .string ()))
146+ values = Index (["a1" , "a2" ], dtype = ArrowDtype (pa .string ()))
145147 arr = values ._data ._pa_array .combine_chunks ()
146148
147149 assert arr .equals (values ._data ._pa_array .combine_chunks ())
148150
149151 def test_values_is_not_index ():
150152 # GH 60563
151- values = Series (['a1' , 'a2' ], dtype = ArrowDtype (pa .string ()))
153+ values = Series (["a1" , "a2" ], dtype = ArrowDtype (pa .string ()))
152154 arr = values ._pa_array .combine_chunks ()
153155
154- assert arr .equals (values ._pa_array .combine_chunks ())
156+ assert arr .equals (values ._pa_array .combine_chunks ())
You can’t perform that action at this time.
0 commit comments