ExpectedException doesn't accept sub-classes of given exception type
Bug #1258125 reported by
Dan Watkins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testtools |
Triaged
|
High
|
Unassigned |
Bug Description
class MyException(
pass
then
with ExpectException
raise MyException()
doesn't catch the exception and check its message; it simply propagates upwards.
Changed in testtools: | |
status: | New → Triaged |
importance: | Undecided → High |
To post a comment you must log in.