Paul Ganssle <p.gans...@gmail.com> added the comment:

> No please, don't do that :-(

Interesting, I don't feel terribly strongly about it, but I would have thought 
that you'd be more in favor of that solution, maybe we have a different 
definition of "expected failure"?

Usually in my projects, I use xfail if I have *tests* for a bug, but no fix for 
it yet. The xfail-ing test serves two purposes: 1. it notifies me if the bug is 
incidentally fixed (so that I can remove the xfail and it becomes a regression 
test, and I close the bug report) and 2. it allows me to encode acceptance 
criteria for fixing the bug directly into the test suite.

I do personally like the idea of separate tests for "is this consistent across 
platforms" and "does this throw an error", but it is true that once it's 
possible to pass the consistency test it *also* serves as a test that no errors 
are thrown.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35066>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to