setup_module on test_imphooks

This commit is contained in:
Konstantinos Tsakiltzidis 2016-06-23 03:41:36 +03:00 committed by GitHub
parent 673999e799
commit b329fffd39

View file

@ -12,7 +12,7 @@ LOADED_HERE = False
IMP_ENV = {'PATH': [], 'PATHEXT': []}
def setup():
def setup_module():
global LOADED_HERE
if built_ins.BUILTINS_LOADED:
unload_builtins() # make sure we have a clean env from other tests.