Skip to content

Commit

Permalink
pytest: drop the dot
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Dec 20, 2023
1 parent 92400f1 commit b3b2db1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions docs/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ We require features to be backed by a unit test.
This way, we can test *django-polymorphic* against new Django versions.
To run the included test suite, execute::

py.test
pytest

To test support for multiple Python and Django versions, run tox from the repository root::

Expand All @@ -24,8 +24,6 @@ The Python versions need to be installed at your system.
On Linux, download the versions at http://www.python.org/download/releases/.
On MacOS X, use Homebrew_ to install other Python versions.

We currently support Python 3.5, 3.6, 3.7, and 3.8.


Example project
----------------
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ deps =
djangomain: https://github.com/django/django/archive/main.tar.gz
postgres: psycopg2
commands =
py.test --cov --cov-report=term-missing --cov-report=xml .
pytest --cov --cov-report=term-missing --cov-report=xml .

[testenv:docs]
deps =
Expand Down

0 comments on commit b3b2db1

Please sign in to comment.