Merge lp:~gmb/zope.testing/make-skips-work-bug-1019275 into lp:~launchpad/zope.testing/3.9.4-fork
| Status: | Merged |
|---|---|
| Approved by: | Brad Crittenden on 2012-06-29 |
| Approved revision: | 51 |
| Merged at revision: | 47 |
| Proposed branch: | lp:~gmb/zope.testing/make-skips-work-bug-1019275 |
| Merge into: | lp:~launchpad/zope.testing/3.9.4-fork |
| Diff against target: |
207 lines (+151/-1) 5 files modified
setup.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) |
| To merge this branch: | bzr merge lp:~gmb/zope.testing/make-skips-work-bug-1019275 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Jelmer Vernooij (community) | 2012-06-29 | Approve on 2012-06-29 | |
|
Review via email:
|
|||
Commit Message
Add an addSkip() method to zope.testing's own version of TestResult. The lack of this method caused skips in python 2.7 to not be recorded in zope.testing-
Description of the Change
This branch fixes bug 1019275 by adding an addSkip() method to zope.testing.
I've added tests to cover the changes; this should help us un-break parallel testing on Python 2.7.
| Launchpad QA Bot (lpqabot) wrote : | # |
The attempt to merge lp:~gmb/zope.testing/make-skips-work-bug-1019275 into lp:~launchpad/zope.testing/3.9.4-fork failed. Below is the output from the failed tests.
Creating directory '/home/
Creating directory '/home/
Creating directory '/home/
Creating directory '/home/
Getting distribution for 'setuptools'.
Got setuptools 0.6c12dev-r88846.
Generated script '/home/
Develop: '/home/
Getting distribution for 'zc.recipe.
Got zc.recipe.
Getting distribution for 'z3c.recipe.
Got z3c.recipe.scripts 1.0.1.
Getting distribution for 'zope.testrunner'.
Got zope.testrunner 4.0.4.
Getting distribution for 'zc.recipe.
Got zc.recipe.egg 1.3.2.
Getting distribution for 'zope.interface'.
*******
WARNING:
An optional code optimization (C extension) could not be compiled.
()
command 'gcc' failed with exit status 1
*******
Got zope.interface 4.0.1.
Getting distribution for 'zope.exceptions'.
Got zope.exceptions 4.0.0.1.
Installing test.
Generated script '/home/
Running zope.testing.
Set up zope.testing.
Ran 1 tests with 0 failures and 0 errors in 0.000 seconds.
Running zope.testrunner
Tear down zope.testing.
Set up zope.testrunner
Error in test test_SubunitOut
Traceback (most recent call last):
File "/usr/lib/
testMethod()
File "/home/
options=
File "/home/
raise Exception("Requires subunit 0.0.5 or better")
Exception: Requires subunit 0.0.5 or better
Error in test test_SubunitOut
Traceback (most recent call last):
File "/usr/lib/
testMethod()
File "/home/
options=
File "/home/
raise Exce...


As discussed in person:
* W00t!
* TestLayer and MockOptions use old style classes
* Needs empty line under class definitions per PEP8