def setUp(self): # noqa self.reg = ColortableRegistry()
def setup_method(self, _): 'Set up a registry for use by the tests.' self.reg = ColortableRegistry()
def registry(): """Set up a registry for use by the tests.""" return ColortableRegistry()