def METHOD_NAME(self):
    msg = (
        "coords_or_dims must be int, str, coordinate or sequence of "
        "these."
    )
    with self.assertRaisesRegex(TypeError, msg):
        reverse(self.cube1, 3.0)