We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22c2d87 commit 58e5581Copy full SHA for 58e5581
_pytest/assertion/rewrite.py
@@ -754,8 +754,6 @@ def visit_BoolOp(self, boolop):
754
self.statements = save
755
self.on_failure = fail_save
756
expl_template = self.helper("format_boolop", expl_list, ast.Num(is_or))
757
- #if isinstance(boolop, (_ast.Compare, _ast.BoolOp)):
758
- # expl_template = "({0})".format(expl_template)
759
expl = self.pop_format_context(expl_template)
760
return ast.Name(res_var, ast.Load()), self.explanation_param(expl)
761
0 commit comments