Skip to content

Commit f8bace8

Browse files
authored
Doc: advanced.rst: Use "pytest" as the new recommended entrypoint for… (#3759)
Doc: advanced.rst: Use "pytest" as the new recommended entrypoint for…
2 parents 8813c76 + 788194d commit f8bace8

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/advanced.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ and the corresponding Makefile::
467467
pipenv install --dev
468468

469469
test:
470-
pipenv run py.test tests
470+
pipenv run pytest tests
471471

472472

473473
Tox Automation Project
@@ -483,7 +483,7 @@ and external testing::
483483
deps = pipenv
484484
commands=
485485
pipenv install --dev
486-
pipenv run py.test tests
486+
pipenv run pytest tests
487487

488488
[testenv:flake8-py3]
489489
basepython = python3.4
@@ -492,7 +492,7 @@ and external testing::
492492
pipenv run flake8 --version
493493
pipenv run flake8 setup.py docs project test
494494

495-
Pipenv will automatically use the virtualenv provided by ``tox``. If ``pipenv install --dev`` installs e.g. ``pytest``, then installed command ``py.test`` will be present in given virtualenv and can be called directly by ``py.test tests`` instead of ``pipenv run py.test tests``.
495+
Pipenv will automatically use the virtualenv provided by ``tox``. If ``pipenv install --dev`` installs e.g. ``pytest``, then installed command ``pytest`` will be present in given virtualenv and can be called directly by ``pytest tests`` instead of ``pipenv run pytest tests``.
496496

497497
You might also want to add ``--ignore-pipfile`` to ``pipenv install``, as to
498498
not accidentally modify the lock-file on each test run. This causes Pipenv

news/3759.doc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Updated the documentation with the new ``pytest`` entrypoint.

0 commit comments

Comments
 (0)