1. In python, is there a good idiom for using context managers in setupteardown

    In python, is there a good idiom for using context managers in setupteardown