Conversation
|
Wasnt't this what #432 (comment) was about... Oh well, I think you've documented it better here though. Are you sure about removing the |
You're right. I assumed that the test always passes. |
| with Session() as lib: | ||
| # revert gmt.conf back to GMT_COMPATIBILITY = 6 | ||
| lib.call_module("set", "GMT_COMPATIBILITY 6") |
There was a problem hiding this comment.
These lines are not needed, as they only change the gmt.conf in the session directory, which will be deleted after the end() statement.
| # Clean up the global "gmt.conf" in the current directory | ||
| assert os.path.exists("gmt.conf") | ||
| os.remove("gmt.conf") |
There was a problem hiding this comment.
Have to remove the "gmt.conf" in the current directory so that it won't affect other tests.
Description of proposed changes
Clean up the global "gmt.conf" in the current directory, after ending the local session but before beginning the global session.
Fixes #453
Reminders
make formatandmake checkto make sure the code follows the style guide.doc/api/index.rst.