Skip to content

Commit

Permalink
Remove duplicated test function
Browse files Browse the repository at this point in the history
  • Loading branch information
willschlitzer committed Jan 21, 2021
1 parent f53c6d7 commit f56b1ce
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions pygmt/tests/test_basemap.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,3 @@ def test_basemap_map_scale():
fig_test.coast(region=[127.5, 128.5, 26, 27], shorelines="1/0.5p")
fig_test.basemap(map_scale="jMB+c1+w10k+f+l")
return fig_ref, fig_test


def test_basemap_required_args():
"""
Test if fig.basemap fails when not given required arguments.
"""
fig = Figure()
with pytest.raises(GMTInvalidInput):
fig.coast(region="EG")

0 comments on commit f56b1ce

Please sign in to comment.