Skip to content

Commit

Permalink
Cleanup track files in test_x2sys_cross_input_two_filenames (#552)
Browse files Browse the repository at this point in the history
* Cleanup track files in test_x2sys_cross_input_two_filenames

* Fix pylint expression-not-assigned error
  • Loading branch information
weiji14 authored Jul 28, 2020
1 parent a851624 commit 4cfb7a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pygmt/tests/test_x2sys_cross.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4cfb7a2

Please sign in to comment.