diff --git a/lib/matplotlib/tests/test_axes.py b/lib/matplotlib/tests/test_axes.py index 281115e26f33..1760d4046381 100644 --- a/lib/matplotlib/tests/test_axes.py +++ b/lib/matplotlib/tests/test_axes.py @@ -2719,7 +2719,7 @@ def test_scatter_singular_plural_arguments(self): edgecolor="#ffffff") with pytest.raises(TypeError, - match="Got both 'facecolor' and 'facecolors',\ + match="Got both 'facecolors' and 'facecolor',\ which are aliases of one another"): plt.scatter([1, 2, 3], [1, 2, 3], facecolors=["#ffffff", "#000000", "#f0f0f0"],