error description for raises with wrong type is too brief

Bug #1118091 reported by Robert Collins
6
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.

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.