You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the end of the test, Lines 46-49 revert the GMT_COMPATIBILTY to 6. However, these codes only affect the gmt.conf in the session directory. The "gmt.conf" in the current directory is still untouched, with GMT_COMPATIBILITY set to 5.
Description of the problem
To reproduce the bug, run:
then you'll see a "gmt.conf" file in the
tmp-test-dir-with-unique-name
directory.The "gmt.conf" file is generated by the test "test_gmt_compat_6_is_applied":
pygmt/pygmt/tests/test_session_management.py
Lines 30 to 34 in 809a888
At the end of the test, Lines 46-49 revert the GMT_COMPATIBILTY to 6. However, these codes only affect the gmt.conf in the session directory. The "gmt.conf" in the current directory is still untouched, with GMT_COMPATIBILITY set to 5.
pygmt/pygmt/tests/test_session_management.py
Lines 45 to 49 in 809a888
We should remove the "gmt.conf" from the current directory at the end of the test.
The text was updated successfully, but these errors were encountered: