Lines Matching refs:tmpdir
21 with tempfile.TemporaryDirectory() as tmpdir:
22 self.touch(tmpdir, "pip-1.2.3b1-py2.py3-none-any.whl")
23 self.touch(tmpdir, "setuptools-49.1.3-py3-none-any.whl")
25 unittest.mock.patch.object(ensurepip, '_WHEEL_PKG_DIR', tmpdir)):
46 with tempfile.TemporaryDirectory() as tmpdir:
47 self.touch(tmpdir, setuptools_filename)
48 self.touch(tmpdir, pip_filename)
50 self.touch(tmpdir, "wheel-0.34.2-py2.py3-none-any.whl")
53 unittest.mock.patch.object(ensurepip, '_WHEEL_PKG_DIR', tmpdir)):
58 os.path.join(tmpdir, setuptools_filename))
61 os.path.join(tmpdir, pip_filename))