diff --git a/pandas/tests/plotting/frame/test_frame_subplots.py b/pandas/tests/plotting/frame/test_frame_subplots.py index 7f4009bdb5e66..e8cdc02591bfe 100644 --- a/pandas/tests/plotting/frame/test_frame_subplots.py +++ b/pandas/tests/plotting/frame/test_frame_subplots.py @@ -42,7 +42,7 @@ def test_subplots(self, kind): _check_axes_shape(axes, axes_num=3, layout=(3, 1)) assert axes.shape == (3,) - for ax, column in zip(axes, df.columns): + for ax, column in zip(axes, df.columns, strict=True): _check_legend_labels(ax, labels=[pprint_thing(column)]) for ax in axes[:-2]: