is not a --- It would be nice if it listed the actual backtrace here, so I could see where teh TypeError was in fact raised.">

Bug #1118091 “error description for raises with wrong type is to...” : Bugs : testtools (original) (raw)

error description for raises with wrong type is too brief

This bug affects 1 person

Affects Status Importance Assigned to Milestone
testtools Triaged Wishlist Unassigned

Bug Description

----
File "testrepository/tests/test_testcommand.py", line 123, in test_TestCommand_cleanUp_disposes_instances_fail_raises
raises(ValueError('Disposing of instances failed, return 1')))
testtools.matchers._impl.MismatchError: <class 'TypeError'> is not a <class 'ValueError'>
---

It would be nice if it listed the actual backtrace here, so I could see where teh TypeError was in fact raised.