Too much stack shown on re-raised exceptions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testtools |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
I just got this from an assertRaises failure:
=======
ERROR: tests.test_
-------
Traceback (most recent call last):
File "/home/
db.
File "/home/
self.
File "/home/
mismatch = matcher.
File "/home/
mismatch = self.exception_
File "/home/
mismatch = matcher.
File "/home/
reraise(
File "/home/
result = matchee()
File "/home/
self.
File "devportalbinar
(unicode(
File "/usr/lib/
return self._connectio
File "/usr/lib/
raw_cursor = self.raw_
File "/usr/lib/
return Connection.
File "/usr/lib/
self.
File "/usr/lib/
return function(*args, **kwargs)
IntegrityError: columns source_
Ran 64 tests in 10.907s (+0.235s)
Most of that stack is irrelevant to the test at hand, and is only valuable for debugging testtools itself. It should not be shown to end users by default.
tags: | added: traceback |
Changed in testtools: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |