@@ -203,8 +203,7 @@ class TestPlotNumlike(object):
203203 @pytest .mark .parametrize ("ndata" , numlike_data , ids = numlike_ids )
204204 def test_plot_numlike (self , ax , plotter , ndata ):
205205 counts = np .array ([4 , 6 , 5 ])
206- with pytest .warns (UserWarning , match = 'using category units to plot' ):
207- plotter (ax , ndata , counts )
206+ plotter (ax , ndata , counts )
208207 axis_test (ax .xaxis , ndata )
209208
210209
@@ -262,14 +261,12 @@ def test_update_plot(self, ax, plotter):
262261
263262 PLOT_BROKEN_IDS = ["scatter" , "plot" , "bar" ]
264263
265- @pytest .mark .filterwarnings ('ignore::UserWarning' )
266264 @pytest .mark .parametrize ("plotter" , PLOT_BROKEN_LIST , ids = PLOT_BROKEN_IDS )
267265 @pytest .mark .parametrize ("xdata" , fvalues , ids = fids )
268266 def test_mixed_type_exception (self , ax , plotter , xdata ):
269267 with pytest .raises (TypeError ):
270268 plotter (ax , xdata , [1 , 2 ])
271269
272- @pytest .mark .filterwarnings ('ignore::UserWarning' )
273270 @pytest .mark .parametrize ("plotter" , PLOT_BROKEN_LIST , ids = PLOT_BROKEN_IDS )
274271 @pytest .mark .parametrize ("xdata" , fvalues , ids = fids )
275272 def test_mixed_type_update_exception (self , ax , plotter , xdata ):
0 commit comments