Skip to content

Commit d7f61ad

Browse files
authored
Modify test command in README
Updated test command to use 'python -m pytest' for better compatibility.
1 parent eb92232 commit d7f61ad

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ vim xonsh/environ.py
2828
git add xonsh/environ.py
2929

3030
# Create test
31+
# Use `python -m pytest` to avoid using xonsh code from `site-packages` if xonsh was installed.
3132
vim tests/environ.py
32-
pytest tests/environ.py
33+
python -m pytest tests/environ.py
3334

3435
# Live test
3536
python -m xonsh --no-rc

0 commit comments

Comments
 (0)