grass.script: Add more parameters to handle_errors
This add handler, stderr, and env to gs.handle_errors. This allows construction of better exception message and calling g.message with gs.fatal. Otherwise, it follows the same rules as error passed with the explicit kwargs dict parameter. Using stderr and handler to reduce confusion. errors is name of the type of handling in gs.handle_errors, but also the error messages in CalledModuleError.
Is it possible that the new test file isn't run, as the file name doesn't start with test_ or end with _test?
Is it possible that the new test file isn't run, as the file name doesn't start with
test_or end with_test?
Yep, the test wasn't in the list of tests passed or failed.
Also, some conflicts in the docstrings to handle
@wenzeslaus I’m letting you write the commit message and merge
I just hit the need for this yesterday when working on tests - I got the "g.message not found" message.