def METHOD_NAME(self):
    with self.assertRaises(
        AssertionError,
        msg=
        "rename_argument decorator indicates that the replacement of argument 'aaa' should take place in the future version 0.2.0, while the current version is 0.2.2. It looks like should be _discouraged_ at this point and not _deprecated_ yet. Consider using 'discourage_argument' decorator instead."
    ):
        @rename_argument('aaa', 'bbb', '0.2.0', '0.2.2', current_version=self.VERSION)
        def early(bbb):
            return bbb
        assert early  # make linters happy