surface_poly_fit.tests.PolyhedralSurfaceTest.addCleanup¶
- PolyhedralSurfaceTest.addCleanup(function, /, *args, **kwargs)¶
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).