Skip to content

Commit

Permalink
unify logic
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Sep 12, 2021
1 parent e0e1713 commit 72e93b1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pyupgrade/_plugins/versioned_branches.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ def visit_If(
) and
len(node.test.ops) == 1 and (
_eq(node.test, 3) or
_compare_to_3(node.test, (ast.Gt, ast.GtE)) or
_compare_to_3(node.test, ast.GtE, min_version[1]) or
any(
_compare_to_3(node.test, (ast.Gt, ast.GtE), minor)
Expand Down

0 comments on commit 72e93b1

Please sign in to comment.