Check that a Python expression evaluates to true.
An ExecTest test consists of Python source code together with
an (optional) Python expression. First the Python code is
executed. If it throws an (uncaught) exception the test fails.
If the optional expression is present, it is then evaluated. If it
evaluates to false, the test fails. Otherwise, the test passes.
|