bd5a9ba392
xfail = pytest.mark.xfail @xfail def test_func1(): pass @xfail(reason="123") def test_func2(): pass where previously test_func1 and test_func2 would wrongly share the same reason because the xfail object was modified in place. |
||
---|---|---|
_pytest | ||
bench | ||
doc | ||
example | ||
testing | ||
.hgignore | ||
.hgtags | ||
AUTHORS | ||
CHANGELOG | ||
ISSUES.txt | ||
LICENSE | ||
MANIFEST.in | ||
README.txt | ||
distribute_setup.py | ||
pytest.py | ||
setup.py | ||
tox.ini |
README.txt
py.test is a simple and popular testing tool for Python. See http://pytest.org for more documentation.