From 58e558141d5e2218d0d1556bed7a4c8bb1a6e2ce Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Sun, 26 Jun 2016 21:19:07 +0200 Subject: [PATCH] Remove commented out code --- _pytest/assertion/rewrite.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/_pytest/assertion/rewrite.py b/_pytest/assertion/rewrite.py index 910e2293d..d8272a056 100644 --- a/_pytest/assertion/rewrite.py +++ b/_pytest/assertion/rewrite.py @@ -754,8 +754,6 @@ class AssertionRewriter(ast.NodeVisitor): self.statements = save self.on_failure = fail_save expl_template = self.helper("format_boolop", expl_list, ast.Num(is_or)) - #if isinstance(boolop, (_ast.Compare, _ast.BoolOp)): - # expl_template = "({0})".format(expl_template) expl = self.pop_format_context(expl_template) return ast.Name(res_var, ast.Load()), self.explanation_param(expl)