Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Commit

Permalink
try to fix bitwise tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rjdbcm committed Nov 7, 2021
1 parent 73b365a commit aecd5e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Aspidites/tests/test_aspidites.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,7 @@ def test_parse_comp_expr(p, q, binop, unop, compop):
st.integers(min_value=1),
st.from_regex(bit_op, fullmatch=True))
def test_parse_bitwise(p, q, bitwise):
stmt = str(p) + bitwise + str(q)
assert eval(stmt) == eval(''.join(list_item.parseString(stmt)))
assert str(p) + bitwise + str(q) == ''.join(list_item.parseString(str(p) + bitwise + str(q)))


# @pt.mark.filterwarnings('ignore::RuntimeWarning')
Expand Down

0 comments on commit aecd5e7

Please sign in to comment.