File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 3
3
4
4
import pytest
5
5
import jaraco .envs
6
+ import jaraco .path
6
7
import path
7
8
8
9
@@ -85,18 +86,17 @@ def venv(tmp_path, setuptools_wheel):
85
86
86
87
87
88
SETUP_SCRIPT_STUB = "__import__('setuptools').setup()"
88
- MISSING_SETUP_SCRIPT = pytest .param (
89
- None ,
90
- marks = pytest .mark .xfail (
91
- reason = "Editable install is currently only supported with `setup.py`"
92
- )
93
- )
94
89
95
90
96
- @pytest .mark .parametrize ("setup_script" , [SETUP_SCRIPT_STUB , MISSING_SETUP_SCRIPT ])
97
- def test_editable_with_pyproject (tmp_path , venv , setup_script ):
91
+ @pytest .mark .parametrize (
92
+ "files" ,
93
+ [
94
+ {** EXAMPLE , "setup.py" : SETUP_SCRIPT_STUB },
95
+ EXAMPLE , # No setup.py script
96
+ ]
97
+ )
98
+ def test_editable_with_pyproject (tmp_path , venv , files ):
98
99
project = tmp_path / "mypkg"
99
- files = {** EXAMPLE , "setup.py" : setup_script }
100
100
project .mkdir ()
101
101
jaraco .path .build (files , prefix = project )
102
102
You can’t perform that action at this time.
0 commit comments