'Test case where an invalid type is passed for expires.'

@pytest.mark.parametrize('value,    exception', ((100, TypeError), ('woops', ValueError)))
def test_expires_invalid_int(self, value, exception):

    morsel = Morsel()
    morsel['expires'] = value
    with pytest.raises(exception):
        morsel_to_cookie(morsel)
