Remove commented out code

This commit is contained in:
Bruno Oliveira 2016-06-26 21:19:07 +02:00
parent 22c2d87633
commit 58e558141d
1 changed files with 0 additions and 2 deletions

View File

@ -754,8 +754,6 @@ class AssertionRewriter(ast.NodeVisitor):
self.statements = save self.statements = save
self.on_failure = fail_save self.on_failure = fail_save
expl_template = self.helper("format_boolop", expl_list, ast.Num(is_or)) 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) expl = self.pop_format_context(expl_template)
return ast.Name(res_var, ast.Load()), self.explanation_param(expl) return ast.Name(res_var, ast.Load()), self.explanation_param(expl)