testSkipped fallback with unittest2 broken due to typo.

Bug #1190951 reported by Robert Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
testtools
Fix Released
Critical
Robert Collins

Bug Description

diff --git a/testtools/testcase.py b/testtools/testcase.py
index 3d95743..ba02750 100644
--- a/testtools/testcase.py
+++ b/testtools/testcase.py
@@ -56,7 +56,7 @@ wraps = try_import('functools.wraps')

 class TestSkipped(Exception):
     """Raised within TestCase.run() when a test is skipped."""
-testSkipped = try_import('unittest2.case.SkipTest', TestSkipped)
+TestSkipped = try_import('unittest2.case.SkipTest', TestSkipped)
 TestSkipped = try_import('unittest.case.SkipTest', TestSkipped)

I'll commit this tomorrow, and the exception stack editing thing, and we should do a release after that.

Changed in testtools:
assignee: nobody → Robert Collins (lifeless)
milestone: none → next
Jonathan Lange (jml)
Changed in testtools:
milestone: 0.9.32 → none
Revision history for this message
Giulio Fidente (gfidente) wrote :

I see this was included in 0.9.32 release

Revision history for this message
Robert Collins (lifeless) wrote :

jml: something went wrong with the release automation? it was tagged correctly, but was untagged...

Changed in testtools:
status: Triaged → Fix Released
Revision history for this message
Jonathan Lange (jml) wrote : Re: [Bug 1190951] Re: testSkipped fallback with unittest2 broken due to typo.

I probably won't have time to look into this soon. If you really care,
probably best to file a bug.

On Thu, Jun 27, 2013 at 1:35 AM, Robert Collins
<email address hidden>wrote:

> jml: something went wrong with the release automation? it was tagged
> correctly, but was untagged...
>
> ** Changed in: testtools
> Status: Triaged => Fix Released
>
> --
> You received this bug notification because you are subscribed to
> testtools.
> https://bugs.launchpad.net/bugs/1190951
>
> Title:
> testSkipped fallback with unittest2 broken due to typo.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/testtools/+bug/1190951/+subscriptions
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.