]> arthur.barton.de Git - bup.git/commit
Fail the tests if we detect any AssertionErrors
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 24 Nov 2021 20:42:34 +0000 (21:42 +0100)
committerRob Browning <rlb@defaultvalue.org>
Sun, 9 Jan 2022 18:36:56 +0000 (12:36 -0600)
commit03d5c758078dace0ad6a67496c9fc16fff45b780
tree9fdece326544dc1c21e55b696df2b46c201b0c8a
parent4448f184253125e1b8bd0c55d0098a335d15b90b
Fail the tests if we detect any AssertionErrors

This exposed various problems in the recent contextmanagement work,
e.g. the assertions in the __del__ methods had been failing.  Of
course this means that from now on, asserts should only be used to
detect fatal problems.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
[rlb@defaultvalue.org: adjust commit message]
Tested-by: Rob Browning <rlb@defaultvalue.org>
test/ext/conftest.py