Lines Matching refs:sandbox
9 import setuptools.sandbox
14 with setuptools.sandbox.DirectorySandbox(str(tmpdir)):
32 setuptools.sandbox._execfile(target, vars(namespace))
39 setuptools.sandbox._execfile(str(setup_py), globals())
44 with setuptools.sandbox.ExceptionSaver():
48 with setuptools.sandbox.ExceptionSaver() as saved_exc:
60 with setuptools.sandbox.ExceptionSaver() as saved_exc:
70 with setuptools.sandbox.ExceptionSaver() as saved_exc:
81 with setuptools.sandbox.ExceptionSaver() as saved_exc:
84 with pytest.raises(setuptools.sandbox.UnpickleableException) as caught:
100 with pytest.raises(setuptools.sandbox.UnpickleableException) as caught:
101 with setuptools.sandbox.save_modules():
102 setuptools.sandbox.hide_setuptools()
120 with pytest.raises(setuptools.sandbox.SandboxViolation) as caught:
121 with setuptools.sandbox.save_modules():
122 setuptools.sandbox.hide_setuptools()
123 with setuptools.sandbox.DirectorySandbox(str(tmpdir)):