Skip to content

Commit 4e33383

Browse files
authored
py.test requires python-pytest
1 parent 5d01c4c commit 4e33383

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsections/h3-check.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Unlike in previous sections, there's no special macro for the ``%check`` section
1111
1212
Chances are that you will encounter a custom Python command that runs the tests, such as ``nosetests`` or ``py.test``. In that case find out what is the name of the executable for Python 3 and run it after the Python 2 command.
1313
14-
If the command for Python 2 can be invoked explicitly for Python 2, e.g. as ``py.test-2`` instead of just ``py.test``, use it.
14+
If the command for Python 2 can be invoked explicitly for Python 2, e.g. as ``py.test-2`` instead of just ``py.test``, use it. Note that to use py.test commands, you need to have ``python2-pytest`` and/or ``python3-pytest`` listed among BuildRequires.
1515
1616
.. code-block:: spec
1717

0 commit comments

Comments
 (0)