discretize.tests.OrderTest.addClassCleanup

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

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