# Python Testing with pytest, Second Edition: page 78 XFAIL vs XPASS

**URL:** <https://forum.devtalk.com/t/python-testing-with-pytest-second-edition-page-78-xfail-vs-xpass/154853>\
**Category:** PragProg Customers\
**Tags:** book-python-testing-with-pytest-second-edition, errata\
**Created:** [12 May 2024 14:36 UTC](https://forum.devtalk.com/t/python-testing-with-pytest-second-edition-page-78-xfail-vs-xpass/154853 "2024-05-12T14:36:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![samuelwhiskeyjohnson](https://forum.devtalk.com/letter_avatar_proxy/v4/letter/s/edb3f5/32.png) [@samuelwhiskeyjohnson](https://forum.devtalk.com/u/samuelwhiskeyjohnson)\
**Post date:** [12 May 2024 14:36 UTC](https://forum.devtalk.com/t/python-testing-with-pytest-second-edition-page-78-xfail-vs-xpass/154853/1 "2024-05-12T14:36:15Z")

</div>

### @brianokken

In Chapter 6 Markers pg 78, it says

> Should your passing xfail tests result in XFAIL? If yes, leave strict alone. If you want them to be FAILED, then set strict.

It should be

> Should your passing xfail tests result in XPASS?
