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