add testcases for tuple assignment

This commit is contained in:
jiangpch
2016-12-26 19:00:40 +08:00
parent 9aa4e2b9ae
commit eb64a03dfa
2 changed files with 5 additions and 0 deletions

View File

@@ -5,3 +5,8 @@ def some_function():
def some_other_function():
some_variable, = some_function()
print(some_variable)
empty_tup = ()
one_item_tup = ("item1", )
one_item_tup_without_parentheses = "item",
many_items_tup = ("item1", "item2", "item3")