feat(argus): don't just panic on failed number parsing
This commit is contained in:
parent
141f7d3983
commit
a7431ce424
2 changed files with 17 additions and 3 deletions
|
|
@ -14,6 +14,8 @@ def test_correct_expr(data: st.DataObject) -> None:
|
|||
try:
|
||||
_ = argus.parse_expr(spec)
|
||||
except ValueError as e:
|
||||
if "Unable to parse as 64-bit" in str(e):
|
||||
return
|
||||
logging.critical(f"unable to parse expr: {spec}")
|
||||
raise e
|
||||
except BaseException as e:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue