Glossary: Python Beyond the Basics
pytest
Also written: pytest.raises, pytest.approx, test_
The most popular tool for running automatic tests; it runs every `test_` function in every `test_` file. `pytest.raises` checks an error is raised, and `pytest.approx` compares floats allowing a tiny difference.