python-test-framework
python-test-framework copied to clipboard
Prevent AssertException from crashing tests
A minor change which gracefully handles AssertException thrown by assertions from inside of test cases decorated with @test.it.
The fix should allow authors to use allow_raise = True in a way which does not result in noisy stacktraces.
It does not affect test suites which do not use decorators and which use top-level assertions - test suites of this kind continue working as they are today.
Most probably invalidates https://github.com/codewars/python-test-framework/pull/12 but the PR hasn't been worked on since a very long time anyway.