Skip to content

Commit

Permalink
Fix the "setup.py test" command for updated src/ layout
Browse files Browse the repository at this point in the history
Addresses pytest-dev#3538
  • Loading branch information
felixonmars authored Jun 5, 2018
1 parent 56b3a9e commit 343a588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def run(self):
python_path = [x for x in os.environ.get("PYTHONPATH", "").split(":") if x]
python_path.insert(0, os.getcwd())
os.environ["PYTHONPATH"] = ":".join(python_path)
errno = subprocess.call([sys.executable, "pytest.py", "--ignore=doc"])
errno = subprocess.call([sys.executable, "src/pytest.py", "--ignore=doc"])
raise SystemExit(errno)


Expand Down

0 comments on commit 343a588

Please sign in to comment.