Skip to content

Commit

Permalink
Move skip_if_no and pyarrow import to test_clib_virtualfile_from_vectors
Browse files Browse the repository at this point in the history
  • Loading branch information
weiji14 committed Nov 15, 2024
1 parent d88accd commit 265132e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 6 additions & 0 deletions pygmt/tests/test_clib_virtualfile_from_vectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
from pygmt.clib.session import DTYPES_NUMERIC
from pygmt.exceptions import GMTInvalidInput
from pygmt.helpers import GMTTempFile
from pygmt.helpers.testing import skip_if_no

try:
import pyarrow as pa
except ImportError:
pa = None


@pytest.fixture(scope="module", name="dtypes")
Expand Down
6 changes: 0 additions & 6 deletions pygmt/tests/test_clib_virtualfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,8 @@
from pygmt.clib.session import DTYPES_NUMERIC
from pygmt.exceptions import GMTCLibError, GMTInvalidInput
from pygmt.helpers import GMTTempFile
from pygmt.helpers.testing import skip_if_no
from pygmt.tests.test_clib import mock

try:
import pyarrow as pa
except ImportError:
pa = None

POINTS_DATA = Path(__file__).parent / "data" / "points.txt"


Expand Down

0 comments on commit 265132e

Please sign in to comment.