sknano.testing.GeneratorTestFixtures.subTest

GeneratorTestFixtures.subTest(msg=None, **params)[source]

Return a context manager that will return the enclosed block of code in a subtest identified by the optional message and keyword parameters. A failure in the subtest marks the test case as failed but resumes execution at the end of the enclosed block, allowing further test code to be executed.