@property
    def format(self):
        validators = {'github': self.validate_github,
                      'jira': self.validate_jira,
                      'uri': self.validate_uri}

        for format in self.allowed_formats:
            if validators[format]():
                return format
On assertion error, testify strips head and tail frame which originate from testify.
dataset/ETHPy150Open zalando/turnstile/turnstile/models/specifications.py/Specification.format--crossover with--dataset/ETHPy150Open Yelp/Testify/test/test_result_test.py/TestResultTestCase.test_frame_stripping