[pypy-issue] Issue #3030: Assertions in RPython callbacks are ignored when running tests (pypy/pypy)

fijal at bitbucket.org fijal at bitbucket.org
Sat Jun 22 14:05:41 EDT 2019


New issue 3030: Assertions in RPython callbacks are ignored when running tests
https://bitbucket.org/pypy/pypy/issues/3030/assertions-in-rpython-callbacks-are

Maciej Fijalkowski:

An example is in `test_assembler_call` in `runner_test.py` - there is a line asserting value of `get_int_value`, but this would be ignored if tests are run. Hopefully it’ll be caught later that called has not been written to, but maybe not and maybe there are other cases. Can we have a systematic solution that catches all exceptions raised in rpython callbacks and crashes tests?




More information about the pypy-issue mailing list