Commit a7eef21b authored by Lisandro Dalcin's avatar Lisandro Dalcin

fix testcase

parent 32f7cd0e
......@@ -84,7 +84,7 @@ def get_default(dict d, key, default):
def get_in_condition(dict d, key, expected_result):
"""
>>> d = dict(a=1, b=2)
>>> getitem_in_condition(d, 'a', 1)
>>> get_in_condition(d, 'a', 1)
True
"""
return d.get(key) is expected_result
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