def METHOD_NAME(self):
    loc = local.Local()
    loc.foo = 42
    local.release_local(loc)
    assert not hasattr(loc, 'foo')
    ls = local.LocalStack()
    ls.push(42)
    local.release_local(ls)
    assert ls.top is None