Skip to content

Commit c33e14a

Browse files
fix test_convert_dtypes
1 parent 4136c9e commit c33e14a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pandas/tests/frame/methods/test_convert_dtypes.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,13 @@ def test_convert_dtypes(
1919
if using_infer_string:
2020
string_storage = "pyarrow_numpy"
2121

22-
string_storage_option = string_storage
23-
if string_storage == "pyarrow_numpy":
24-
string_storage_option = "pyarrow"
2522
df = pd.DataFrame(
2623
{
2724
"a": pd.Series([1, 2, 3], dtype=np.dtype("int32")),
2825
"b": pd.Series(["x", "y", "z"], dtype=np.dtype("O")),
2926
}
3027
)
31-
with pd.option_context("string_storage", string_storage_option):
28+
with pd.option_context("string_storage", string_storage):
3229
result = df.convert_dtypes(True, True, convert_integer, False)
3330
expected = pd.DataFrame(
3431
{

0 commit comments

Comments
 (0)