diff options
author | Miro Hrončok <miro@hroncok.cz> | 2022-11-11 14:51:14 +0100 |
---|---|---|
committer | Miro Hrončok <miro@hroncok.cz> | 2022-11-11 14:51:14 +0100 |
commit | babc98d98570b5dbb85fb1c58b012aafa9769696 (patch) | |
tree | ced2689aa8dcc7f36546160934fcc5de82e41c19 /doc | |
parent | 5ddf2accf50f05c8962c0c38211b0ad73412be71 (diff) | |
download | cffi-babc98d98570b5dbb85fb1c58b012aafa9769696.tar.gz |
Replace py.test usage with pytest, explicitly require py for testspy.test
pytest 7.2+ no longer depends on py. It ships py.path and py.error only.
See https://docs.pytest.org/en/7.2.x/changelog.html#deprecations
The tests use py.code as well, hence we declare and document a test dependency on py.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/installation.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/installation.rst b/doc/source/installation.rst index e198f0d..944de25 100644 --- a/doc/source/installation.rst +++ b/doc/source/installation.rst @@ -44,9 +44,9 @@ Requirements: * pycparser >= 2.06: https://github.com/eliben/pycparser (automatically tracked by ``pip install cffi``). -* `py.test`_ is needed to run the tests of CFFI itself. +* `pytest`_ is needed to run the tests of CFFI itself. -.. _`py.test`: http://pypi.python.org/pypi/pytest +.. _`pytest`: http://pypi.python.org/pypi/pytest Download and Installation: @@ -67,7 +67,7 @@ Download and Installation: (should work out of the box on Linux or Windows; see below for `MacOS X`_.) -* running the tests: ``py.test c/ testing/`` (if you didn't +* running the tests: ``pytest c/ testing/`` (if you didn't install cffi yet, you need first ``python setup_base.py build_ext -f -i``) |