Commit fecbc2d2 authored by Sviatoslav Sydorenko's avatar Sviatoslav Sydorenko

Isolate src for `test_distutils_adoption`

parent 2e077b73
......@@ -21,10 +21,10 @@ class VirtualEnv(jaraco.envs.VirtualEnv):
@pytest.fixture
def venv(tmpdir):
def venv(tmp_path, tmp_src):
env = VirtualEnv()
env.root = path.Path(tmpdir)
env.req = os.getcwd()
env.root = path.Path(tmp_path / 'venv')
env.req = str(tmp_src)
return env.create()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment