@contextmanager
def nothing_cm():
    'Just a dummy cm to programmically switch context managers'
    (yield)
Just a dummy cm to programmically switch context managers
@contextmanager
def nothing_cm():
    
    (yield)