File tree Expand file tree Collapse file tree 3 files changed +1
-12
lines changed
Expand file tree Collapse file tree 3 files changed +1
-12
lines changed Original file line number Diff line number Diff line change 22Tests Figure.basemap.
33"""
44import pytest
5- from packaging .version import Version
6- from pygmt import Figure , clib
5+ from pygmt import Figure
76from pygmt .exceptions import GMTInvalidInput
87
9- with clib .Session () as _lib :
10- gmt_version = Version (_lib .info ["version" ])
11-
128
139def test_basemap_required_args ():
1410 """
Original file line number Diff line number Diff line change 2727TEST_DATA_DIR = os .path .join (os .path .dirname (__file__ ), "data" )
2828POINTS_DATA = os .path .join (TEST_DATA_DIR , "points.txt" )
2929
30- with clib .Session () as _lib :
31- gmt_version = Version (_lib .info ["version" ])
32-
3330
3431@pytest .fixture (scope = "module" )
3532def data ():
Original file line number Diff line number Diff line change 44import numpy as np
55import numpy .testing as npt
66import pytest
7- from packaging .version import Version
87from pygmt import clib
98from pygmt .exceptions import GMTCLibError
109from pygmt .helpers import GMTTempFile
1110
12- with clib .Session () as _lib :
13- gmt_version = Version (_lib .info ["version" ])
14-
1511
1612def test_put_strings ():
1713 """
You can’t perform that action at this time.
0 commit comments