Under python 2.7, skipped tests break the subunit stream
Bug #1019275 reported by
Graham Binns
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Graham Binns |
Bug Description
Due to the way that our zope.testing for works, a skipped test won't, under Python 2.7, emit any concluding status in the subunit stream - there's no skip, but there's also no success or failure. Under Python 2.6, all skipped tests report success in subunit.
Related branches
lp://staging/~gmb/zope.testing/make-skips-work-bug-1019275
- Jelmer Vernooij (community): Approve
-
Diff: 207 lines (+151/-1)5 files modifiedsetup.py (+1/-1)
src/zope/testing/testrunner/formatter.py (+9/-0)
src/zope/testing/testrunner/runner.py (+4/-0)
src/zope/testing/testrunner/test_testresult.py (+135/-0)
src/zope/testing/testrunner/tests.py (+2/-0)
lp://staging/~gmb/launchpad/zope.testing-p16
- Graham Binns (community): Approve (code)
-
Diff: 17 lines (+3/-1)1 file modifiedversions.cfg (+3/-1)
Changed in launchpad: | |
assignee: | nobody → Graham Binns (gmb) |
tags: | added: python-upgrade |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r15559 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 15559>.