Skip to content

Commit 343a588

Browse files
authored
Fix the "setup.py test" command for updated src/ layout
Addresses pytest-dev#3538
1 parent 56b3a9e commit 343a588

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def run(self):
130130
python_path = [x for x in os.environ.get("PYTHONPATH", "").split(":") if x]
131131
python_path.insert(0, os.getcwd())
132132
os.environ["PYTHONPATH"] = ":".join(python_path)
133-
errno = subprocess.call([sys.executable, "pytest.py", "--ignore=doc"])
133+
errno = subprocess.call([sys.executable, "src/pytest.py", "--ignore=doc"])
134134
raise SystemExit(errno)
135135

136136

0 commit comments

Comments
 (0)