def _get_status_code(self, status_code_or_response):
        try:
            return status_code_or_response.status_code
        except __HOLE__:
            return status_code_or_response
dataset/ETHPy150Open sunscrapers/djet/djet/assertions.py/StatusCodeAssertionsMixin._get_status_code