diff options
author | David Lechner <david@pybricks.com> | 2020-01-02 09:40:54 -0600 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-01-06 22:22:27 +1100 |
commit | 1bc9fc80821edea293bc04a4c1c2c462dc546813 (patch) | |
tree | bf5c0ff78c3a1c405e7720cc7abcfdee3537af0f /py/builtinhelp.c | |
parent | aec88ddf0326187c567d4e4507149fb7c54ba91d (diff) |
tests/run-tests: Handle 'CRASH' return by float.py feature test.
It is possile for `run_feature_check(pyb, args, base_path, 'float.py')` to
return `b'CRASH'`. This causes an unhandled exception in `int()`.
This commit fixes the problem by first testing for `b'CRASH'` before trying
to convert the return value to an integer.
Diffstat (limited to 'py/builtinhelp.c')
0 files changed, 0 insertions, 0 deletions