diff --git a/pandas/core/reshape/concat.py b/pandas/core/reshape/concat.py index 1c602a0af1ec1..aa380d95e5f36 100644 --- a/pandas/core/reshape/concat.py +++ b/pandas/core/reshape/concat.py @@ -446,7 +446,7 @@ def _get_new_axes(self): new_axes[i] = self._get_comb_axis(i) else: if len(self.join_axes) != ndim - 1: - raise AssertionError("length of join_axes must not be equal " + raise AssertionError("length of join_axes must be equal " "to {length}".format(length=ndim - 1)) # ufff...