diff --git a/pyargus/tests/test_expr.py b/pyargus/tests/test_expr.py index 2c205c4..c53d33a 100644 --- a/pyargus/tests/test_expr.py +++ b/pyargus/tests/test_expr.py @@ -16,3 +16,7 @@ def test_correct_expr(data: st.DataObject) -> None: except ValueError as e: logging.critical(f"unable to parse expr: {spec}") raise e + except BaseException as e: + if "PanicException" in str(type(e)) and "ParseIntError { kind: PosOverflow }" in str(e): + return + raise