Skip to content

Commit

Permalink
Unroll calls to all on python 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Tadaboody committed May 25, 2019
1 parent 322a0f0 commit 22d91a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/_pytest/assertion/rewrite.py
Original file line number Diff line number Diff line change
Expand Up @@ -1020,6 +1020,8 @@ def visit_Call_legacy(self, call):
"""
visit `ast.Call nodes on 3.4 and below`
"""
if isinstance(call.func, ast.Name) and call.func.id == "all":
return self._visit_all(call)
new_func, func_expl = self.visit(call.func)
arg_expls = []
new_args = []
Expand Down

0 comments on commit 22d91a3

Please sign in to comment.