Skip to content

Commit 71d1e6c

Browse files
post merge fixup
1 parent e365f01 commit 71d1e6c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

asv_bench/benchmarks/strings.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,10 @@
1212

1313

1414
class Dtypes:
15-
params = ["str", "string", "arrow_string"]
15+
params = ["str", "string[python]", "string[pyarrow]"]
1616
param_names = ["dtype"]
1717

1818
def setup(self, dtype):
19-
from pandas.core.arrays.string_arrow import ArrowStringDtype # noqa: F401
20-
2119
try:
2220
self.s = Series(tm.makeStringIndex(10 ** 5), dtype=dtype)
2321
except ImportError:

pandas/tests/strings/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def test_api_per_method(
128128
def test_api_for_categorical(any_string_method, any_string_dtype, request):
129129
# https://github.com/pandas-dev/pandas/issues/10661
130130

131-
if any_string_dtype == "arrow_string":
131+
if any_string_dtype == "string[pyarrow]":
132132
# unsupported operand type(s) for +: 'ArrowStringArray' and 'str'
133133
mark = pytest.mark.xfail(raises=TypeError, reason="Not Implemented")
134134
request.node.add_marker(mark)

0 commit comments

Comments
 (0)