Commit 524cec9a authored by Vitja Makarov's avatar Vitja Makarov

Update deletion test

parent b5f931ec
......@@ -86,13 +86,13 @@ def del_local(a):
>>> del_local(object())
"""
del a
assert a is None # Until we have unbound locals...
assert 'a' not in locals()
def del_seq(a, b, c):
"""
>>> del_seq(1, 2, 3)
"""
del a, (b, c)
assert a is None # Until we have unbound locals...
assert b is None # Until we have unbound locals...
assert c is None # Until we have unbound locals...
assert 'a' not in locals()
assert 'b' not in locals()
assert 'c' not in locals()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment