File tree 3 files changed +1
-12
lines changed
3 files changed +1
-12
lines changed Original file line number Diff line number Diff line change 2
2
Tests Figure.basemap.
3
3
"""
4
4
import pytest
5
- from packaging .version import Version
6
- from pygmt import Figure , clib
5
+ from pygmt import Figure
7
6
from pygmt .exceptions import GMTInvalidInput
8
7
9
- with clib .Session () as _lib :
10
- gmt_version = Version (_lib .info ["version" ])
11
-
12
8
13
9
def test_basemap_required_args ():
14
10
"""
Original file line number Diff line number Diff line change 27
27
TEST_DATA_DIR = os .path .join (os .path .dirname (__file__ ), "data" )
28
28
POINTS_DATA = os .path .join (TEST_DATA_DIR , "points.txt" )
29
29
30
- with clib .Session () as _lib :
31
- gmt_version = Version (_lib .info ["version" ])
32
-
33
30
34
31
@pytest .fixture (scope = "module" )
35
32
def data ():
Original file line number Diff line number Diff line change 4
4
import numpy as np
5
5
import numpy .testing as npt
6
6
import pytest
7
- from packaging .version import Version
8
7
from pygmt import clib
9
8
from pygmt .exceptions import GMTCLibError
10
9
from pygmt .helpers import GMTTempFile
11
10
12
- with clib .Session () as _lib :
13
- gmt_version = Version (_lib .info ["version" ])
14
-
15
11
16
12
def test_put_strings ():
17
13
"""
You can’t perform that action at this time.
0 commit comments