In the new testing fixtures, a test that is supposed to throw an exception has an expectedException field within the fixture. This can be used to detect where an exception is to be expected. Currently, the tests where exceptions are expected are hard coded in the tests in a large number of modules.
In the new testing fixtures, a test that is supposed to throw an exception has an
expectedException
field within the fixture. This can be used to detect where an exception is to be expected. Currently, the tests where exceptions are expected are hard coded in the tests in a large number of modules.