Skip to content

Commit 8877927

Browse files
committed
1 parent 44e4702 commit 8877927

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Dump environment variables
3333

3434
.. code-block:: sh
3535
36-
$ py.test --echo-env=HOME
36+
$ pytest --echo-env=HOME
3737
============================= test session starts =========================
3838
platform linux2 -- Python 2.7.4 -- py-1.4.22 -- pytest-2.6.0 -- /bin/python
3939
Environment:
@@ -46,7 +46,7 @@ Dump package version
4646

4747
.. code-block:: sh
4848
49-
$ py.test --echo-version=pytest_echo
49+
$ pytest --echo-version=pytest_echo
5050
============================= test session starts =========================
5151
platform linux2 -- Python 2.7.4 -- py-1.4.22 -- pytest-2.6.0 -- /bin/python
5252
Package version:
@@ -65,7 +65,7 @@ Dump attributes
6565

6666
.. code-block:: sh
6767
68-
$ py.test --echo-attr=django.conf.settings.DEBUG
68+
$ pytest --echo-attr=django.conf.settings.DEBUG
6969
============================= test session starts =========================
7070
platform linux2 -- Python 2.7.4 -- py-1.4.22 -- pytest-2.6.0 -- /bin/python
7171
Inspections
@@ -102,7 +102,7 @@ Example of use in a django project:
102102
103103
.. code-block:: sh
104104
105-
$ py.test
105+
$ pytest
106106
============================= test session starts =========================
107107
platform linux2 -- Python 2.7.4 -- py-1.4.22 -- pytest-2.6.0 -- /bin/python
108108
Environment:
@@ -130,7 +130,7 @@ as:
130130

131131
.. code-block:: sh
132132
133-
$ py.test --echo-version=pytest-* --echo-env=VIRTUAL*
133+
$ pytest --echo-version=pytest-* --echo-env=VIRTUAL*
134134
135135
or
136136

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ deps =
1515

1616
commands =
1717
pip install -e .
18-
coverage run -m py.test -vv test_echo.py pytest_echo.py
18+
coverage run -m pytest -vv test_echo.py pytest_echo.py
1919
coverage report
2020
coverage html
2121

0 commit comments

Comments
 (0)