Testing ======= pytest ------ Basic testing is done with `pytest `_. Make sure that the code is installed from source as editable .. code-block:: bash python -m pip install -e ."[test]" To test the code, go to where the source code is, and run .. code-block:: bash python -m pytest tox --- To test in different environments, you can use `tox `_. Install tox and run .. code-block:: bash tox This tests all the environments listed in the `tox.ini` file, in `env_list`. To test a specific one, run e.g. .. code-block:: bash tox -e py39