Commit aa3c534d authored by Bram Schoenmakers's avatar Bram Schoenmakers

Skip branch coverage measurement for default value with lambda

Related to commit cde8f8ed

https://bitbucket.org/ned/coveragepy/issues/90/lambda-expression-confuses-branch
parent d543bed3
...@@ -45,7 +45,7 @@ def _to_base36(p_value): ...@@ -45,7 +45,7 @@ def _to_base36(p_value):
return base36 or alphabet[0] return base36 or alphabet[0]
def hash_list_values(p_list, p_key=lambda i: i): def hash_list_values(p_list, p_key=lambda i: i): # pragma: no branch
""" """
Calculates a unique value for each item in the list, these can be used as Calculates a unique value for each item in the list, these can be used as
identifiers. identifiers.
......
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