@@ -138,9 +138,7 @@ def test_to_html_compat(self):
138
138
res = self .read_html (out , attrs = {"class" : "dataframe" }, index_col = 0 )[0 ]
139
139
tm .assert_frame_equal (res , df )
140
140
141
- @pytest .mark .parametrize ("dtype_backend" , ["pandas" , "pyarrow" ])
142
- @pytest .mark .parametrize ("storage" , ["python" , "pyarrow" ])
143
- def test_use_nullable_dtypes (self , storage , dtype_backend ):
141
+ def test_use_nullable_dtypes (self , string_storage , dtype_backend ):
144
142
# GH#50286
145
143
df = DataFrame (
146
144
{
@@ -155,7 +153,7 @@ def test_use_nullable_dtypes(self, storage, dtype_backend):
155
153
}
156
154
)
157
155
158
- if storage == "python" :
156
+ if string_storage == "python" :
159
157
string_array = StringArray (np .array (["a" , "b" , "c" ], dtype = np .object_ ))
160
158
string_array_na = StringArray (np .array (["a" , "b" , NA ], dtype = np .object_ ))
161
159
@@ -165,7 +163,7 @@ def test_use_nullable_dtypes(self, storage, dtype_backend):
165
163
string_array_na = ArrowStringArray (pa .array (["a" , "b" , None ]))
166
164
167
165
out = df .to_html (index = False )
168
- with pd .option_context ("mode.string_storage" , storage ):
166
+ with pd .option_context ("mode.string_storage" , string_storage ):
169
167
with pd .option_context ("mode.dtype_backend" , dtype_backend ):
170
168
result = self .read_html (out , use_nullable_dtypes = True )[0 ]
171
169
0 commit comments