expectException() doesn't work on certain use cases.

Description

Repro:

Results:

testRaiseException_pass

Fails due to exception bubbling back to calling code

testRaiseException_fail_wrong_exception_raised

Fails due to exception bubbling back to calling code

testExpectException_fail_no_exception_raised

Incorrectly passes: an exception was expected but none is raised

Assignee

Luis Majano

Reporter

Adam Cameron

Labels

None

Components

Fix versions

Priority

Major
Configure