Yeah, sorry I just didn't want to cause any side-effects so I was trying to be cautious. Based on your comment, it sounds like maybe the preferred fix would be something like this?
``python    elif morsel['expires']:
        expires = morsel['expires']
        if expires:
            time_template = "%a, %d-%b-%Y %H:%M:%S GMT"
            expires = time.mktime(time.strptime(expires, time_template))
``

If that's the case, I'll resubmit my pull request with this solution instead?

Any recommendations on a better way testing this without manually creating the ``Morsel`` object like I am now?