[issue1034053] unittest.py patch: add skipped test functionality

2009-03-23 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Committed my patch in r70555. -- resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1034053

[issue1034053] unittest.py patch: add skipped test functionality

2009-03-22 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Ok, here's my unittest skipping patch. It supports skipping classes and expected failures and includes skipping decorators. I had to employ a little evil to make test skipping work for classes. The made a new TestSuite class called

[issue1034053] unittest.py patch: add skipped test functionality

2009-03-22 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Here's the patch on Rietveld: http://codereview.appspot.com/27095 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1034053 ___

[issue1034053] unittest.py patch: add skipped test functionality

2009-03-22 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: Removed file: http://bugs.python.org/file13396/unittest_galore.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1034053 ___

[issue1034053] unittest.py patch: add skipped test functionality

2009-03-22 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: Added file: http://bugs.python.org/file13399/unittest_galore.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1034053 ___

[issue1034053] unittest.py patch: add skipped test functionality

2009-03-22 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: I've attached a new patch which takes into account Antoine's review. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1034053 ___

[issue1034053] unittest.py patch: add skipped test functionality

2008-12-29 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: I think this is a good improvement, and I hope it can make it into 2.7/3.1. Several comments on patch: - I don't like the name SkipException SkipTest is better IMO. - TestResult.addSkipped should be changed to TestResult.addSkip. - I'm

[issue1034053] unittest.py patch: add skipped test functionality

2008-12-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Pupeno's patch looks good to me. Additional candy would be a decorator to flag skipped tests (e.g. @skipped_test or @skipped_test(A message)), but we can do that later. -- stage: - patch review type: - feature request versions: +Python

[issue1034053] unittest.py patch: add skipped test functionality

2008-12-28 Thread Remy Blank
Remy Blank remy.bl...@pobox.com added the comment: There's still a typo in the docstring of TestResult.addSkipped() (tuble - tuple). ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1034053 ___

[issue1034053] unittest.py patch: add skipped test functionality

2008-08-11 Thread J. Pablo Fernández
J. Pablo Fernández [EMAIL PROTECTED] added the comment: Hello, The attached patch adds the skip functionality and tests to a very recent (yesterday) Python 3. It took me a few hours to apply the patch, change to Python 3 style, merge the tests into the current set of tests not doing a mess. I

[issue1034053] unittest.py patch: add skipped test functionality

2008-08-11 Thread J. Pablo Fernández
J. Pablo Fernández [EMAIL PROTECTED] added the comment: Oh, I forgot to upgrade versions to include Python 3.0 and to mention that I have to fix some other tests to work with the new TestCase. It's nothing serious, just doctests that where too dependent on the output of the TextTestRunner. As

[issue1034053] unittest.py patch: add skipped test functionality

2008-01-22 Thread Steve Purcell
Steve Purcell added the comment: The status of this ticket is unchanged. I'm somewhat removed from the Python scene in recent times, and I'm not in a position to apply this patch or a variation of it. I still believe this would be a beneficial change to the unittest module, though, and

[issue1034053] unittest.py patch: add skipped test functionality

2008-01-22 Thread Georg Brandl
Georg Brandl added the comment: I'll take it. -- assignee: purcell - georg.brandl nosy: +georg.brandl _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1034053 _

[issue1034053] unittest.py patch: add skipped test functionality

2008-01-22 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola': -- nosy: +giampaolo.rodola _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1034053 _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1034053] unittest.py patch: add skipped test functionality

2008-01-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: So what's the status of this? Skipping test is still an important ability to have. -- nosy: +pitrou _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1034053 _