To execute it:
$ pytest ============================= test session starts ============================= collected 1 items test_sample.py F ================================== FAILURES =================================== _________________________________ test_answer _________________________________ def test_answer(): > assert inc(3) == 5 E assert 4 == 5 E + where 4 = inc(3) test_sample.py:5: AssertionError ========================== 1 failed in 0.04 seconds ===========================
Due to pytest's detailed assertion introspection, only plain assert statements are used. See Features
For full documentation, including installation, tutorials and PDF documents, please see Bugs/Requests
You can support pytest by obtaining a Security
pytest has never been associated with a security vunerability, but in any case, to report a security vulnerability please use the License
Copyright Holger Krekel and others, 2004-2020.
Distributed under the terms of the /REbelieve/pytest