@@ -255,19 +255,16 @@ def test_update_plot(self, ax, plotter):
255255
256256 fids , fvalues = zip (* failing_test_cases )
257257
258- PLOT_BROKEN_LIST = [Axes .scatter ,
259- pytest .param (Axes .plot , marks = pytest .mark .xfail ),
260- pytest .param (Axes .bar , marks = pytest .mark .xfail )]
258+ plotters = [Axes .scatter , Axes .bar ,
259+ pytest .param (Axes .plot , marks = pytest .mark .xfail )]
261260
262- PLOT_BROKEN_IDS = ["scatter" , "plot" , "bar" ]
263-
264- @pytest .mark .parametrize ("plotter" , PLOT_BROKEN_LIST , ids = PLOT_BROKEN_IDS )
261+ @pytest .mark .parametrize ("plotter" , plotters )
265262 @pytest .mark .parametrize ("xdata" , fvalues , ids = fids )
266263 def test_mixed_type_exception (self , ax , plotter , xdata ):
267264 with pytest .raises (TypeError ):
268265 plotter (ax , xdata , [1 , 2 ])
269266
270- @pytest .mark .parametrize ("plotter" , PLOT_BROKEN_LIST , ids = PLOT_BROKEN_IDS )
267+ @pytest .mark .parametrize ("plotter" , plotters )
271268 @pytest .mark .parametrize ("xdata" , fvalues , ids = fids )
272269 def test_mixed_type_update_exception (self , ax , plotter , xdata ):
273270 with pytest .raises (TypeError ):
0 commit comments