Skip to content

Commit 4e4bd2d

Browse files
committed
FIx
1 parent 90455c1 commit 4e4bd2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pygmt/tests/test_legend.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def test_legend_entries():
9494
@pytest.mark.mpl_image_compare
9595
def test_legend_specfile(legend_spec):
9696
"""
97-
Test Figure.legend with a legend specification file.
97+
Test passing a legend specification file.
9898
"""
9999
with GMTTempFile() as specfile:
100100
Path(specfile.name).write_text(legend_spec, encoding="utf-8")
@@ -107,7 +107,7 @@ def test_legend_specfile(legend_spec):
107107
@pytest.mark.mpl_image_compare(filename="test_legend_specfile.png")
108108
def test_legend_stringio(legend_spec):
109109
"""
110-
Test Figure.legend with a legend specification from an io.StringIO object.
110+
Test passing an legend specification via an io.StringIO object.
111111
"""
112112
spec = io.StringIO(legend_spec)
113113
fig = Figure()

0 commit comments

Comments
 (0)