bayespy.utils.misc.TestCase.addClassCleanup

classmethod TestCase.addClassCleanup(function, /, *args, **kwargs)[source]

Same as addCleanup, except the cleanup items are called even if setUpClass fails (unlike tearDownClass).