Skip to content

Commit

Permalink
DOC: Remove references to tox from docs (#2720)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan6419846 authored Jun 21, 2024
1 parent a512408 commit e0a92e2
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions docs/dev/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,6 @@ You can even disable all of them: `pytest -m "not enable_socket" -m "not samples

Please note that this reduces test coverage. The CI will always test all files.

## Creating a Coverage Report

If you want to get a coverage report that considers the Python version specific
code, you can run [`tox`](https://tox.wiki/en/latest/).

As a prerequisite, we recommend using [`pyenv`](https://github.com/pyenv/pyenv)
so that you can install the different Python versions:

```
pyenv install pypy3.8-7.3.7
pyenv install 3.7.15
pyenv install 3.8.12
pyenv install 3.9.10
pyenv install 3.10.2
```

Then you can execute `tox` which will create a coverage report in HTML form
in the end. The execution takes about 30 minutes.


## Docstrings in Unit tests

The first line of a docstring in a unit test should be written in a way that
Expand Down

0 comments on commit e0a92e2

Please sign in to comment.