def test_unique_error_codes(self):
        errors = [SignatureError, ClientError, HostError, BackgroundError,
                  DimensionsError, FilterError, FormatError, ModeError,
                  OptimizeError, PositionError, PreserveExifError,
                  ProgressiveError, QualityError, UrlError, ImageFormatError,
                  ImageSaveError, FetchError, DegreeError, OperationError,
                  RectangleError, RetainError]
        codes = []
        for error in errors:
            code = str(error.get_code())
            if codes in code:
                self.fail("The error code, %s, is repeated" % str(code))
            codes.append(code)
dataset/ETHPy150Open agschwender/pilbox/pilbox/test/errors_test.py/ErrorsTest.test_unique_error_codes/swapped operands of `in`