From 4cfb7a2fdc165e8cdeeab88027b3fb09e0eaa134 Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Wed, 29 Jul 2020 07:00:02 +1200 Subject: [PATCH] Cleanup track files in test_x2sys_cross_input_two_filenames (#552) * Cleanup track files in test_x2sys_cross_input_two_filenames * Fix pylint expression-not-assigned error --- pygmt/tests/test_x2sys_cross.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pygmt/tests/test_x2sys_cross.py b/pygmt/tests/test_x2sys_cross.py index 23bcc499228..5d3ced83aa2 100644 --- a/pygmt/tests/test_x2sys_cross.py +++ b/pygmt/tests/test_x2sys_cross.py @@ -121,6 +121,7 @@ def test_x2sys_cross_input_two_filenames(mock_x2sys_home): columns = list(output.columns) assert columns[:6] == ["x", "y", "i_1", "i_2", "dist_1", "dist_2"] assert columns[6:] == ["head_1", "head_2", "vel_1", "vel_2", "z_X", "z_M"] + _ = [os.remove(f"track_{i}.xyz") for i in range(2)] # cleanup track files return output