Path 1: 4 calls (1.0)

'\n' (4)

1def remove_suffix(self, suffix: str) -> None:
2        """Remove a suffix if it exists.
3
4        Args:
5            suffix (str): Suffix to remove.
6        """
7        if self.plain.endswith(suffix):
8            self.right_crop(len(suffix))