def load_cookie(self, resp):
        cookie = http_cookies.SimpleCookie()
        try:
            cookie.load(resp.headers['Set-Cookie'])
            return cookie
        except __HOLE__:
            return None
dataset/ETHPy150Open allisson/gunstar/tests/test_session.py/SessionTest.load_cookie