Inconsistent suppression of traceback in skipping test

Bug #1518101 reported by Jonathan Lange
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
testtools
Fix Released
Medium
Jonathan Lange

Bug Description

We currently suppress traceback for tests that raise TestSkipped (hardcoded). However, we also allow parametrization of the exception that indicates whether a test is being skipped (TestCase.skipException).

If you change that to another exception, say unittest.SkipTest, tests will be skipped, but tracebacks will be included in the output, which is not what I want, nor what I expect most people would want.

Revision history for this message
Jonathan Lange (jml) wrote :

unittest.SkipTest is needed because of https://github.com/testing-cabal/unittest-ext/issues/60

Revision history for this message
Jonathan Lange (jml) wrote :

Relates to #1518100

Changed in testtools:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Jonathan Lange (jml) wrote :

Fixed in 00ea7e05888ccc4b7446266bc8509dcdc6b48ff4

Changed in testtools:
assignee: nobody → Jonathan Lange (jml)
status: Triaged → Fix Committed
milestone: none → next
Jonathan Lange (jml)
Changed in testtools:
status: Fix Committed → Fix Released
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.