Commit f77a3776 authored by Stefan Behnel's avatar Stefan Behnel

fix test in Py3

parent 49e8015e
...@@ -86,10 +86,10 @@ def dict_call_kwargs(): ...@@ -86,10 +86,10 @@ def dict_call_kwargs():
def items_of_dict_call(): def items_of_dict_call():
""" """
>>> items_of_dict_call() >>> items_of_dict_call()
[('answer1', 42), ('answer2', 42), ('parrot1', u'resting'), ('parrot2', u'resting')] [('answer1', 42), ('answer2', 42), ('parrot1', 'resting'), ('parrot2', 'resting')]
""" """
kwargs = dict(parrot1=u"resting", answer1=42) kwargs = dict(parrot1="resting", answer1=42)
items = dict(kwargs.items(), parrot2=u"resting", answer2=42, **kwargs).items() items = dict(kwargs.items(), parrot2="resting", answer2=42, **kwargs).items()
return sorted(items) return sorted(items)
......
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