Skip to content

Commit 58e5581

Browse files
committed
Remove commented out code
1 parent 22c2d87 commit 58e5581

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

_pytest/assertion/rewrite.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -754,8 +754,6 @@ def visit_BoolOp(self, boolop):
754754
self.statements = save
755755
self.on_failure = fail_save
756756
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)
759757
expl = self.pop_format_context(expl_template)
760758
return ast.Name(res_var, ast.Load()), self.explanation_param(expl)
761759

0 commit comments

Comments
 (0)