Skip to content

Commit

Permalink
Revert to == when comparing AST objects in BackendConcrete
Browse files Browse the repository at this point in the history
  • Loading branch information
twizmwazin committed Jun 20, 2024
1 parent 86a6c45 commit 3d94c03
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions claripy/backends/backend_concrete.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,13 +224,13 @@ def is_false(self, e, extra_constraints=(), solver=None, model_callback=None):

# pylint:disable=singleton-comparison
def _is_true(self, e, extra_constraints=(), solver=None, model_callback=None):
return e is True
return e == True # noqa: E712

def _is_false(self, e, extra_constraints=(), solver=None, model_callback=None):
return e is False
return e == False # noqa: E712

def _has_true(self, e, extra_constraints=(), solver=None, model_callback=None):
return e is True
return e == True # noqa: E712

def _has_false(self, e, extra_constraints=(), solver=None, model_callback=None):
return e is False
return e == False # noqa: E712

0 comments on commit 3d94c03

Please sign in to comment.