You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.
Stacking unary operators onto their respective positive/negative operands does not parse safely
line 105, in test_parse_arith
assert eval(stmt) == eval(''.join(arith_expr.parseString(stmt)))
AssertionError: assert 1 == -1
where 1 = eval('--1-0//-1')
and -1 = eval('Maybe(SafeFloorDiv, --1-0, -1)()')
where 'Maybe(SafeFloorDiv, --1-0, -1)()' = <built-in method join of str object at 0x1033f0030>((['Maybe(SafeFloorDiv, --1-0, -1)()'], {}))
p=1, q=0, binop='-', unop='-',
)
Aspidites/Aspidites/tests/test_aspidites.py
Line 98 in 5fc3dee
75f2ea89750bafd64a3e6d0e5059839397652659
The text was updated successfully, but these errors were encountered: