Issue 1399935: enhance unittest to define tests that should fail (original) (raw)

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:14 admin set github: 42774
2009-06-14 17:10:11 benjamin.peterson set status: open -> closedresolution: out of datemessages: +
2009-06-14 16:49:42 michael.foord set messages: +
2009-05-15 02:38:33 ajaksu2 set stage: test needed -> patch review
2009-05-15 02:38:04 ajaksu2 set nosy: + michael.foordversions: + Python 3.2, - Python 3.1
2009-03-14 01:46:08 pitrou set versions: + Python 3.1, Python 2.7, - Python 2.5nosy: + pitrou, benjamin.petersonmessages: + type: enhancementstage: test needed
2007-08-24 19:05:50 georg.brandl set nosy: + georg.brandlmessages: +
2006-01-08 21:45:16 nnorwitz create