diff --git a/pandas/tests/frame/test_alter_axes.py b/pandas/tests/frame/test_alter_axes.py index 8d7526ee17eea..ecceb8c927946 100644 --- a/pandas/tests/frame/test_alter_axes.py +++ b/pandas/tests/frame/test_alter_axes.py @@ -1351,7 +1351,7 @@ def test_rename_signature(self): sig = inspect.signature(DataFrame.rename) parameters = set(sig.parameters) assert parameters == {"self", "mapper", "index", "columns", "axis", - "inplace", "copy", "level"} + "inplace", "copy", "level", "errors"} @pytest.mark.skipif(PY2, reason="inspect.signature") def test_reindex_signature(self):