(tmpdir)
| 150 | |
| 151 | @pytest.fixture |
| 152 | def python_dir(tmpdir): |
| 153 | with tmpdir.as_cwd(): |
| 154 | prefix = tmpdir.join('prefix').ensure_dir() |
| 155 | prefix.join('setup.py').write('import setuptools; setuptools.setup()') |
| 156 | prefix = Prefix(str(prefix)) |
| 157 | yield prefix, tmpdir |
| 158 | |
| 159 | |
| 160 | def test_healthy_default_creator(python_dir): |