def exec_(code, globs=None, locs=None):
        if globs is None:
            frame = sys._getframe(1)
            globs = frame.f_globals
            if locs is None:
                locs = frame.f_locals
            del frame
        elif locs is None:
            locs = globs
        exec("""exec code in globs, locs""")
Ensure a file is provided if the submit action was utilized
dataset/ETHPy150Open scipy/scipy/runtests.py/exec_--crossover with--dataset/ETHPy150Open pinax/symposion/symposion/schedule/tests/test_forms.py/ScheduleSectionFormTests.test_clean_filename