diff --git a/pandas/tests/reshape/test_get_dummies.py b/pandas/tests/reshape/test_get_dummies.py index 2da61b6d58b30..9b7aefac60969 100644 --- a/pandas/tests/reshape/test_get_dummies.py +++ b/pandas/tests/reshape/test_get_dummies.py @@ -714,7 +714,6 @@ def test_get_dummies_ea_dtype(self): (CategoricalDtype(Index(["a"], dtype="string[pyarrow]")), "boolean"), (CategoricalDtype(Index(["a"], dtype="string[pyarrow_numpy]")), "bool"), ]: - df = DataFrame({"name": Series(["a"], dtype=dtype), "x": 1}) result = get_dummies(df) expected = DataFrame({"x": 1, "name_a": Series([True], dtype=exp_dtype)})