'Enter a context manager to be exited during the tearDownClass'

@final
@classmethod
def enter_class_context(cls, context_manager):

    if cls._in_setup:
        raise ValueError('Attempted    to    enter    a    class    context    in    init_instance_fixtures.\nDid    you    mean    to    call    enter_instance_context?')
    return cls._class_teardown_stack.enter_context(context_manager)
