array_split.unittest
TestCase.
addCleanup
Add a function, with arguments, to be called when the test is completed. Functions added are called on a LIFO basis and are called after tearDown on test failure or success.
Cleanup items are called even if setUp fails (unlike tearDown).
Enter search terms or a module, class or function name.