Skip to content

Commit

Permalink
remove redundant assert
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper authored Jan 16, 2023
1 parent 570792f commit d4a14af
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions vyper/codegen/stmt.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,6 @@ def _get_last(ir):

def parse_Assert(self):
test_expr = Expr.parse_value_expr(self.stmt.test, self.context)
# sanity check
assert test_expr is not None

if self.stmt.msg:
return self._assert_reason(test_expr, self.stmt.msg)
Expand Down

0 comments on commit d4a14af

Please sign in to comment.