.. _spkg_pytest:

pytest: Simple powerful testing with Python
===========================================

Description
-----------

pytest: simple powerful testing with Python

License
-------

MIT

Upstream Contact
----------------

https://pypi.org/project/pytest/


Type
----

optional


Dependencies
------------

- $(PYTHON)
- $(PYTHON_TOOLCHAIN)
- :ref:`spkg_attrs`
- :ref:`spkg_importlib_metadata`
- :ref:`spkg_packaging`
- :ref:`spkg_pluggy`
- :ref:`spkg_py`
- :ref:`spkg_pyparsing`
- :ref:`spkg_tomli`

Version Information
-------------------

requirements.txt::

    pytest


Equivalent System Packages
--------------------------

.. tab:: conda-forge

   .. CODE-BLOCK:: bash

       $ conda install pytest 


.. tab:: MacPorts

   .. CODE-BLOCK:: bash

       $ sudo port install py-pytest 


.. tab:: Void Linux

   .. CODE-BLOCK:: bash

       $ sudo xbps-install python3-pytest 



See https://repology.org/project/python:pytest/versions

If the system package is installed and if the (experimental) option
``--enable-system-site-packages`` is passed to ``./configure``, then ``./configure``
will check if the system package can be used.

