This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: enhance unittest to define tests that *should* fail
Type: enhancement Stage: patch review
Components: Library (Lib) Versions: Python 3.2, Python 2.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, collinwinter, georg.brandl, michael.foord, nnorwitz, pitrou
Priority: normal Keywords: patch

Created on 2006-01-08 21:45 by nnorwitz, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
should-fail.patch nnorwitz, 2006-01-08 21:45 v1
Messages (6)
msg49277 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-01-08 21:45
As discussed here:

http://mail.python.org/pipermail/python-dev/2006-January/059503.html

msg49278 - (view) Author: Collin Winter (collinwinter) * (Python committer) Date: 2007-03-09 03:36
Why wasn't this ever committed?
msg55268 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-08-24 19:05
Shouldn't the decorator name be lowercase?
msg83566 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2009-03-14 01:46
Benjamin, is it on your plate?
(or perhaps you already have a working patch somewhere? :-))
msg89354 - (view) Author: Michael Foord (michael.foord) * (Python committer) Date: 2009-06-14 16:49
Patch needs updating but still seems like a useful feature. I'll update
and commit. I agree that decorator should be lowercase - should_fail or
shouldfail ?
msg89359 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2009-06-14 17:10
Actually, unittest already has @expectedFailure.
History
Date User Action Args
2022-04-11 14:56:14adminsetgithub: 42774
2009-06-14 17:10:11benjamin.petersonsetstatus: open -> closed
resolution: out of date
messages: + msg89359
2009-06-14 16:49:42michael.foordsetmessages: + msg89354
2009-05-15 02:38:33ajaksu2setstage: test needed -> patch review
2009-05-15 02:38:04ajaksu2setnosy: + michael.foord

versions: + Python 3.2, - Python 3.1
2009-03-14 01:46:08pitrousetversions: + Python 3.1, Python 2.7, - Python 2.5
nosy: + pitrou, benjamin.peterson

messages: + msg83566

type: enhancement
stage: test needed
2007-08-24 19:05:50georg.brandlsetnosy: + georg.brandl
messages: + msg55268
2006-01-08 21:45:16nnorwitzcreate