From 231c79f968e6ca3137c4e0793b8ea2ea882af385 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Sat, 17 Jun 2023 08:47:21 +0800 Subject: [PATCH] Use consistent docstrings for test files (#2578) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Max Jones <14077947+maxrjones@users.noreply.github.com> Co-authored-by: Yvonne Fröhlich <94163266+yvonnefroehlich@users.noreply.github.com> --- pygmt/tests/test_basemap.py | 2 +- pygmt/tests/test_binstats.py | 2 +- pygmt/tests/test_blockm.py | 2 +- pygmt/tests/test_blockmedian.py | 2 +- pygmt/tests/test_clib_loading.py | 4 ++-- pygmt/tests/test_coast.py | 2 +- pygmt/tests/test_colorbar.py | 2 +- pygmt/tests/test_config.py | 2 +- pygmt/tests/test_contour.py | 2 +- pygmt/tests/test_dimfilter.py | 2 +- pygmt/tests/test_filter1d.py | 2 +- pygmt/tests/test_geopandas.py | 2 +- pygmt/tests/test_grd2cpt.py | 2 +- pygmt/tests/test_grd2xyz.py | 2 +- pygmt/tests/test_grdclip.py | 2 +- pygmt/tests/test_grdcut.py | 2 +- pygmt/tests/test_grdfill.py | 2 +- pygmt/tests/test_grdfilter.py | 2 +- pygmt/tests/test_grdgradient.py | 2 +- pygmt/tests/test_grdhisteq.py | 2 +- pygmt/tests/test_grdinfo.py | 2 +- pygmt/tests/test_grdlandmask.py | 2 +- pygmt/tests/test_grdproject.py | 2 +- pygmt/tests/test_grdsample.py | 2 +- pygmt/tests/test_grdtrack.py | 2 +- pygmt/tests/test_grdview.py | 2 +- pygmt/tests/test_grdvolume.py | 2 +- pygmt/tests/test_helpers.py | 2 +- pygmt/tests/test_histogram.py | 6 +++--- pygmt/tests/test_image.py | 2 +- pygmt/tests/test_info.py | 2 +- pygmt/tests/test_inset.py | 2 +- pygmt/tests/test_io.py | 2 +- pygmt/tests/test_legend.py | 2 +- pygmt/tests/test_logo.py | 2 +- pygmt/tests/test_makecpt.py | 2 +- pygmt/tests/test_meca.py | 2 +- pygmt/tests/test_nearneighbor.py | 2 +- pygmt/tests/test_plot.py | 2 +- pygmt/tests/test_plot3d.py | 2 +- pygmt/tests/test_project.py | 2 +- pygmt/tests/test_psconvert.py | 2 +- pygmt/tests/test_rose.py | 2 +- pygmt/tests/test_select.py | 2 +- pygmt/tests/test_solar.py | 2 +- pygmt/tests/test_sph2grd.py | 2 +- pygmt/tests/test_sphdistance.py | 2 +- pygmt/tests/test_sphinterpolate.py | 2 +- pygmt/tests/test_subplot.py | 2 +- pygmt/tests/test_surface.py | 2 +- pygmt/tests/test_ternary.py | 2 +- pygmt/tests/test_text.py | 2 +- pygmt/tests/test_tilemap.py | 2 +- pygmt/tests/test_timestamp.py | 2 +- pygmt/tests/test_triangulate.py | 2 +- pygmt/tests/test_velo.py | 2 +- pygmt/tests/test_which.py | 2 +- pygmt/tests/test_wiggle.py | 2 +- pygmt/tests/test_x2sys_cross.py | 2 +- pygmt/tests/test_x2sys_init.py | 2 +- pygmt/tests/test_xyz2grd.py | 2 +- 61 files changed, 64 insertions(+), 64 deletions(-) diff --git a/pygmt/tests/test_basemap.py b/pygmt/tests/test_basemap.py index db646a04d6f..340d19c2647 100644 --- a/pygmt/tests/test_basemap.py +++ b/pygmt/tests/test_basemap.py @@ -1,5 +1,5 @@ """ -Tests Figure.basemap. +Test Figure.basemap. """ import pytest from pygmt import Figure diff --git a/pygmt/tests/test_binstats.py b/pygmt/tests/test_binstats.py index 3a6c6ede74a..65daa4fe70a 100644 --- a/pygmt/tests/test_binstats.py +++ b/pygmt/tests/test_binstats.py @@ -1,5 +1,5 @@ """ -Tests for binstats. +Test pygmt.binstats. """ from pathlib import Path diff --git a/pygmt/tests/test_blockm.py b/pygmt/tests/test_blockm.py index 9468e19cab5..c75de7673c0 100644 --- a/pygmt/tests/test_blockm.py +++ b/pygmt/tests/test_blockm.py @@ -1,5 +1,5 @@ """ -Tests for blockmean and blockmode. +Test pygmt.blockmean and pygmt.blockmode. """ from pathlib import Path diff --git a/pygmt/tests/test_blockmedian.py b/pygmt/tests/test_blockmedian.py index b627e237905..f8aae503bee 100644 --- a/pygmt/tests/test_blockmedian.py +++ b/pygmt/tests/test_blockmedian.py @@ -1,5 +1,5 @@ """ -Tests for blockmedian. +Test pygmt.blockmedian. """ from pathlib import Path diff --git a/pygmt/tests/test_clib_loading.py b/pygmt/tests/test_clib_loading.py index aab9dc161a4..055badd8656 100644 --- a/pygmt/tests/test_clib_loading.py +++ b/pygmt/tests/test_clib_loading.py @@ -57,7 +57,7 @@ def test_clib_names(): ############################################################################### -# Tests for load_libgmt +# Test load_libgmt def test_load_libgmt(): """ Test that loading libgmt works and doesn't crash. @@ -208,7 +208,7 @@ def test_brokenlib_brokenlib_workinglib( ############################################################################### -# Tests for clib_full_names +# Test clib_full_names @pytest.fixture(scope="module", name="gmt_lib_names") def fixture_gmt_lib_names(): """ diff --git a/pygmt/tests/test_coast.py b/pygmt/tests/test_coast.py index b45d43e08d4..990761079a6 100644 --- a/pygmt/tests/test_coast.py +++ b/pygmt/tests/test_coast.py @@ -1,5 +1,5 @@ """ -Tests for fig.coast. +Test Figure.coast. """ import pytest from pygmt import Figure diff --git a/pygmt/tests/test_colorbar.py b/pygmt/tests/test_colorbar.py index 7b58ad26381..57aa10c5311 100644 --- a/pygmt/tests/test_colorbar.py +++ b/pygmt/tests/test_colorbar.py @@ -1,5 +1,5 @@ """ -Tests colorbar. +Test Figure.colorbar. """ import pytest from pygmt import Figure diff --git a/pygmt/tests/test_config.py b/pygmt/tests/test_config.py index fbaddd323e4..684481b8168 100644 --- a/pygmt/tests/test_config.py +++ b/pygmt/tests/test_config.py @@ -1,5 +1,5 @@ """ -Tests for pygmt.config. +Test pygmt.config. """ import pytest from pygmt import Figure, config diff --git a/pygmt/tests/test_contour.py b/pygmt/tests/test_contour.py index 9bc2686935c..4e093c4708f 100644 --- a/pygmt/tests/test_contour.py +++ b/pygmt/tests/test_contour.py @@ -1,6 +1,6 @@ # pylint: disable=redefined-outer-name """ -Tests contour. +Test Figure.contour. """ import os diff --git a/pygmt/tests/test_dimfilter.py b/pygmt/tests/test_dimfilter.py index 06723b2ab54..6817b322f91 100644 --- a/pygmt/tests/test_dimfilter.py +++ b/pygmt/tests/test_dimfilter.py @@ -1,5 +1,5 @@ """ -Tests for dimfilter. +Test pygmt.dimfilter. """ from pathlib import Path diff --git a/pygmt/tests/test_filter1d.py b/pygmt/tests/test_filter1d.py index c5cb2b5f459..c03b3e4b8a5 100644 --- a/pygmt/tests/test_filter1d.py +++ b/pygmt/tests/test_filter1d.py @@ -1,5 +1,5 @@ """ -Tests for filter1d. +Test pygmt.filter1d. """ from pathlib import Path diff --git a/pygmt/tests/test_geopandas.py b/pygmt/tests/test_geopandas.py index 6820b43d72a..106ed798cf5 100644 --- a/pygmt/tests/test_geopandas.py +++ b/pygmt/tests/test_geopandas.py @@ -1,5 +1,5 @@ """ -Tests on integration with geopandas. +Test integration with geopandas. """ import numpy.testing as npt import pytest diff --git a/pygmt/tests/test_grd2cpt.py b/pygmt/tests/test_grd2cpt.py index a1afa97312a..b66c11eb81c 100644 --- a/pygmt/tests/test_grd2cpt.py +++ b/pygmt/tests/test_grd2cpt.py @@ -1,5 +1,5 @@ """ -Tests for grd2cpt. +Test pygmt.grd2cpt. """ import os diff --git a/pygmt/tests/test_grd2xyz.py b/pygmt/tests/test_grd2xyz.py index 831e0e93d5e..d53993388c2 100644 --- a/pygmt/tests/test_grd2xyz.py +++ b/pygmt/tests/test_grd2xyz.py @@ -1,5 +1,5 @@ """ -Tests for grd2xyz. +Test pygmt.grd2xyz. """ from pathlib import Path diff --git a/pygmt/tests/test_grdclip.py b/pygmt/tests/test_grdclip.py index 43cad9f78c6..c08f1e69744 100644 --- a/pygmt/tests/test_grdclip.py +++ b/pygmt/tests/test_grdclip.py @@ -1,5 +1,5 @@ """ -Tests for grdclip. +Test pygmt.grdclip. """ from pathlib import Path diff --git a/pygmt/tests/test_grdcut.py b/pygmt/tests/test_grdcut.py index bb09d99c427..b24403321fa 100644 --- a/pygmt/tests/test_grdcut.py +++ b/pygmt/tests/test_grdcut.py @@ -1,5 +1,5 @@ """ -Tests for grdcut. +Test pygmt.grdcut. """ import numpy as np import pytest diff --git a/pygmt/tests/test_grdfill.py b/pygmt/tests/test_grdfill.py index 85daed1e212..ed6f04a7b66 100644 --- a/pygmt/tests/test_grdfill.py +++ b/pygmt/tests/test_grdfill.py @@ -1,5 +1,5 @@ """ -Tests for grdfill. +Test pygmt.grdfill. """ from pathlib import Path diff --git a/pygmt/tests/test_grdfilter.py b/pygmt/tests/test_grdfilter.py index 3a61f3a6db8..e21aa214100 100644 --- a/pygmt/tests/test_grdfilter.py +++ b/pygmt/tests/test_grdfilter.py @@ -1,5 +1,5 @@ """ -Tests for grdfilter. +Test pygmt.grdfilter. """ from pathlib import Path diff --git a/pygmt/tests/test_grdgradient.py b/pygmt/tests/test_grdgradient.py index 06dc1bed6e1..e419fdc7516 100644 --- a/pygmt/tests/test_grdgradient.py +++ b/pygmt/tests/test_grdgradient.py @@ -1,5 +1,5 @@ """ -Tests for grdgradient. +Test pygmt.grdgradient. """ from pathlib import Path diff --git a/pygmt/tests/test_grdhisteq.py b/pygmt/tests/test_grdhisteq.py index df000bb0596..9ce6941f9e6 100644 --- a/pygmt/tests/test_grdhisteq.py +++ b/pygmt/tests/test_grdhisteq.py @@ -1,5 +1,5 @@ """ -Tests for grdhisteq. +Test pygmt.grdhisteq. """ from pathlib import Path diff --git a/pygmt/tests/test_grdinfo.py b/pygmt/tests/test_grdinfo.py index f58107ad123..ebecbf54eb8 100644 --- a/pygmt/tests/test_grdinfo.py +++ b/pygmt/tests/test_grdinfo.py @@ -1,5 +1,5 @@ """ -Tests for grdinfo. +Test pygmt.grdinfo. """ import numpy as np import pytest diff --git a/pygmt/tests/test_grdlandmask.py b/pygmt/tests/test_grdlandmask.py index 85f9e795932..b37d9851346 100644 --- a/pygmt/tests/test_grdlandmask.py +++ b/pygmt/tests/test_grdlandmask.py @@ -1,5 +1,5 @@ """ -Tests for grdlandmask. +Test pygmt.grdlandmask. """ from pathlib import Path diff --git a/pygmt/tests/test_grdproject.py b/pygmt/tests/test_grdproject.py index 312534e87da..2d734aadca5 100644 --- a/pygmt/tests/test_grdproject.py +++ b/pygmt/tests/test_grdproject.py @@ -1,5 +1,5 @@ """ -Tests for grdproject. +Test pygmt.grdproject. """ from pathlib import Path diff --git a/pygmt/tests/test_grdsample.py b/pygmt/tests/test_grdsample.py index 970ac55e910..e23cd269921 100644 --- a/pygmt/tests/test_grdsample.py +++ b/pygmt/tests/test_grdsample.py @@ -1,5 +1,5 @@ """ -Tests for grdsample. +Test pygmt.grdsample. """ from pathlib import Path diff --git a/pygmt/tests/test_grdtrack.py b/pygmt/tests/test_grdtrack.py index 41691b0db48..8d765db7ddb 100644 --- a/pygmt/tests/test_grdtrack.py +++ b/pygmt/tests/test_grdtrack.py @@ -1,5 +1,5 @@ """ -Tests for grdtrack. +Test pygmt.grdtrack. """ import os from pathlib import Path diff --git a/pygmt/tests/test_grdview.py b/pygmt/tests/test_grdview.py index 2918c0f96a5..33a91a1fb4a 100644 --- a/pygmt/tests/test_grdview.py +++ b/pygmt/tests/test_grdview.py @@ -1,5 +1,5 @@ """ -Tests grdview. +Test Figure.grdview. """ import pytest from pygmt import Figure, grdcut diff --git a/pygmt/tests/test_grdvolume.py b/pygmt/tests/test_grdvolume.py index 1731bfad4ac..1facffd4639 100644 --- a/pygmt/tests/test_grdvolume.py +++ b/pygmt/tests/test_grdvolume.py @@ -1,5 +1,5 @@ """ -Tests for grdvolume. +Test pygmt.grdvolume. """ from pathlib import Path diff --git a/pygmt/tests/test_helpers.py b/pygmt/tests/test_helpers.py index 29bfa1f5750..78c29e5ab62 100644 --- a/pygmt/tests/test_helpers.py +++ b/pygmt/tests/test_helpers.py @@ -1,5 +1,5 @@ """ -Tests the helper functions/classes/etc used in wrapping GMT. +Test the helper functions/classes/etc used in wrapping GMT. """ import os diff --git a/pygmt/tests/test_histogram.py b/pygmt/tests/test_histogram.py index bcd8687f60b..05b87521af2 100644 --- a/pygmt/tests/test_histogram.py +++ b/pygmt/tests/test_histogram.py @@ -1,6 +1,6 @@ # pylint: disable=redefined-outer-name """ -Tests histogram. +Test Figure.histogram. """ import pandas as pd import pytest @@ -10,7 +10,7 @@ @pytest.fixture(scope="module", name="data", params=[list, pd.Series]) def fixture_data(request): """ - Returns a list of integers to be used in the histogram. + Return a list of integers to be used in the histogram. """ data = [1, 1, 1, 1, 1, 1, 2, 2, 2, 3, 4, 5, 6, 7, 8, 8, 8, 8, 8, 8] return request.param(data) @@ -19,7 +19,7 @@ def fixture_data(request): @pytest.mark.mpl_image_compare(filename="test_histogram.png") def test_histogram(data): """ - Tests plotting a histogram using a sequence of integers from a table. + Test plotting a histogram using a sequence of integers from a table. """ fig = Figure() fig.histogram( diff --git a/pygmt/tests/test_image.py b/pygmt/tests/test_image.py index 46731a5441c..06e9c73bb72 100644 --- a/pygmt/tests/test_image.py +++ b/pygmt/tests/test_image.py @@ -1,5 +1,5 @@ """ -Tests image. +Test Figure.image. """ import os import sys diff --git a/pygmt/tests/test_info.py b/pygmt/tests/test_info.py index 52450f8f0c2..999965417a3 100644 --- a/pygmt/tests/test_info.py +++ b/pygmt/tests/test_info.py @@ -1,5 +1,5 @@ """ -Tests for gmtinfo. +Test pygmt.info. """ import os import pathlib diff --git a/pygmt/tests/test_inset.py b/pygmt/tests/test_inset.py index 2891a3f744f..e7a367b6993 100644 --- a/pygmt/tests/test_inset.py +++ b/pygmt/tests/test_inset.py @@ -1,5 +1,5 @@ """ -Tests for the inset function. +Test Figure.inset. """ import pytest from pygmt import Figure diff --git a/pygmt/tests/test_io.py b/pygmt/tests/test_io.py index 2d2fc02023c..c111721480e 100644 --- a/pygmt/tests/test_io.py +++ b/pygmt/tests/test_io.py @@ -1,5 +1,5 @@ """ -Tests for input/output (I/O) utilities. +Test input/output (I/O) utilities. """ import numpy as np import pytest diff --git a/pygmt/tests/test_legend.py b/pygmt/tests/test_legend.py index 7462f5be9b6..b7cf01ad048 100644 --- a/pygmt/tests/test_legend.py +++ b/pygmt/tests/test_legend.py @@ -1,5 +1,5 @@ """ -Tests for legend. +Test Figure.legend. """ import pytest from pygmt import Figure diff --git a/pygmt/tests/test_logo.py b/pygmt/tests/test_logo.py index 84e7b273b56..69d54b54df8 100644 --- a/pygmt/tests/test_logo.py +++ b/pygmt/tests/test_logo.py @@ -1,5 +1,5 @@ """ -Tests for fig.logo. +Test Figure.logo. """ import pytest from pygmt import Figure diff --git a/pygmt/tests/test_makecpt.py b/pygmt/tests/test_makecpt.py index 7a8413d0aa2..56c016b7879 100644 --- a/pygmt/tests/test_makecpt.py +++ b/pygmt/tests/test_makecpt.py @@ -1,5 +1,5 @@ """ -Tests for makecpt. +Test pygmt.makecpt. """ import os from pathlib import Path diff --git a/pygmt/tests/test_meca.py b/pygmt/tests/test_meca.py index a23ebec725c..cbff884ea75 100644 --- a/pygmt/tests/test_meca.py +++ b/pygmt/tests/test_meca.py @@ -1,5 +1,5 @@ """ -Tests for meca. +Test Figure.meca. """ import numpy as np import pandas as pd diff --git a/pygmt/tests/test_nearneighbor.py b/pygmt/tests/test_nearneighbor.py index e94054b6fce..088af184999 100644 --- a/pygmt/tests/test_nearneighbor.py +++ b/pygmt/tests/test_nearneighbor.py @@ -1,5 +1,5 @@ """ -Tests for nearneighbor. +Test pygmt.nearneighbor. """ from pathlib import Path diff --git a/pygmt/tests/test_plot.py b/pygmt/tests/test_plot.py index afcc228adeb..312dd37181d 100644 --- a/pygmt/tests/test_plot.py +++ b/pygmt/tests/test_plot.py @@ -1,6 +1,6 @@ # pylint: disable=redefined-outer-name """ -Tests plot. +Test Figure.plot. """ import datetime import os diff --git a/pygmt/tests/test_plot3d.py b/pygmt/tests/test_plot3d.py index c21d23cb92e..1a99198a55c 100644 --- a/pygmt/tests/test_plot3d.py +++ b/pygmt/tests/test_plot3d.py @@ -1,5 +1,5 @@ """ -Tests plot3d. +Test Figure.plot3d. """ import os from pathlib import Path diff --git a/pygmt/tests/test_project.py b/pygmt/tests/test_project.py index b11154132f0..c7185a0be44 100644 --- a/pygmt/tests/test_project.py +++ b/pygmt/tests/test_project.py @@ -1,5 +1,5 @@ """ -Tests for project. +Test pygmt.project. """ from pathlib import Path diff --git a/pygmt/tests/test_psconvert.py b/pygmt/tests/test_psconvert.py index c5b856800dc..73fae958de4 100644 --- a/pygmt/tests/test_psconvert.py +++ b/pygmt/tests/test_psconvert.py @@ -1,5 +1,5 @@ """ -Tests psconvert. +Test Figure.psconvert. """ import os diff --git a/pygmt/tests/test_rose.py b/pygmt/tests/test_rose.py index c2b165c5210..f6a86010f44 100644 --- a/pygmt/tests/test_rose.py +++ b/pygmt/tests/test_rose.py @@ -1,5 +1,5 @@ """ -Tests for rose. +Test Figure.rose. """ import numpy as np import pytest diff --git a/pygmt/tests/test_select.py b/pygmt/tests/test_select.py index 4716ef6313e..81cf5bd8c72 100644 --- a/pygmt/tests/test_select.py +++ b/pygmt/tests/test_select.py @@ -1,5 +1,5 @@ """ -Tests for select. +Test pygmt.select. """ from pathlib import Path diff --git a/pygmt/tests/test_solar.py b/pygmt/tests/test_solar.py index 4c2b036b20a..56f3101f430 100644 --- a/pygmt/tests/test_solar.py +++ b/pygmt/tests/test_solar.py @@ -1,5 +1,5 @@ """ -Tests for solar. +Test Figure.solar. """ import datetime diff --git a/pygmt/tests/test_sph2grd.py b/pygmt/tests/test_sph2grd.py index 96e22975d17..7839978cd14 100644 --- a/pygmt/tests/test_sph2grd.py +++ b/pygmt/tests/test_sph2grd.py @@ -1,5 +1,5 @@ """ -Tests for sph2grd. +Test pygmt.sph2grd. """ from pathlib import Path diff --git a/pygmt/tests/test_sphdistance.py b/pygmt/tests/test_sphdistance.py index d87805fd76d..7a48cb19cd7 100644 --- a/pygmt/tests/test_sphdistance.py +++ b/pygmt/tests/test_sphdistance.py @@ -1,5 +1,5 @@ """ -Tests for sphdistance. +Test pygmt.sphdistance. """ from pathlib import Path diff --git a/pygmt/tests/test_sphinterpolate.py b/pygmt/tests/test_sphinterpolate.py index fdc40779cd9..069c6e19454 100644 --- a/pygmt/tests/test_sphinterpolate.py +++ b/pygmt/tests/test_sphinterpolate.py @@ -1,5 +1,5 @@ """ -Tests for sphinterpolate. +Test pygmt.sphinterpolate. """ from pathlib import Path diff --git a/pygmt/tests/test_subplot.py b/pygmt/tests/test_subplot.py index 32026ec3890..4aad9e6375c 100644 --- a/pygmt/tests/test_subplot.py +++ b/pygmt/tests/test_subplot.py @@ -1,5 +1,5 @@ """ -Tests subplot. +Test Figure.subplot. """ import pytest from pygmt import Figure diff --git a/pygmt/tests/test_surface.py b/pygmt/tests/test_surface.py index 6ecb1802daf..a4035bc2352 100644 --- a/pygmt/tests/test_surface.py +++ b/pygmt/tests/test_surface.py @@ -1,5 +1,5 @@ """ -Tests for surface. +Test pygmt.surface. """ from pathlib import Path diff --git a/pygmt/tests/test_ternary.py b/pygmt/tests/test_ternary.py index eb3a704e016..713ed4396d4 100644 --- a/pygmt/tests/test_ternary.py +++ b/pygmt/tests/test_ternary.py @@ -1,5 +1,5 @@ """ -Tests ternary. +Test Figure.ternary. """ import numpy as np import pytest diff --git a/pygmt/tests/test_text.py b/pygmt/tests/test_text.py index 520ef4c4ca1..523da9b8b89 100644 --- a/pygmt/tests/test_text.py +++ b/pygmt/tests/test_text.py @@ -1,5 +1,5 @@ """ -Tests text. +Test Figure.text. """ import os diff --git a/pygmt/tests/test_tilemap.py b/pygmt/tests/test_tilemap.py index 06d377f4462..e32cf62a708 100644 --- a/pygmt/tests/test_tilemap.py +++ b/pygmt/tests/test_tilemap.py @@ -1,5 +1,5 @@ """ -Tests Figure.tilemap. +Test Figure.tilemap. """ import pytest from pygmt import Figure diff --git a/pygmt/tests/test_timestamp.py b/pygmt/tests/test_timestamp.py index 039e1fe3712..e748317857d 100644 --- a/pygmt/tests/test_timestamp.py +++ b/pygmt/tests/test_timestamp.py @@ -1,5 +1,5 @@ """ -Tests for Figure.timestamp. +Test Figure.timestamp. """ import pytest from pygmt import Figure, config diff --git a/pygmt/tests/test_triangulate.py b/pygmt/tests/test_triangulate.py index 0334af560ef..5ba5de998c9 100644 --- a/pygmt/tests/test_triangulate.py +++ b/pygmt/tests/test_triangulate.py @@ -1,5 +1,5 @@ """ -Tests for triangulate. +Test pygmt.triangulate. """ from pathlib import Path diff --git a/pygmt/tests/test_velo.py b/pygmt/tests/test_velo.py index afaac1d8465..f5a879c37a7 100644 --- a/pygmt/tests/test_velo.py +++ b/pygmt/tests/test_velo.py @@ -1,5 +1,5 @@ """ -Tests velo. +Test Figure.velo. """ import pandas as pd import pytest diff --git a/pygmt/tests/test_which.py b/pygmt/tests/test_which.py index bb9ae086dfb..15cb48963c3 100644 --- a/pygmt/tests/test_which.py +++ b/pygmt/tests/test_which.py @@ -1,5 +1,5 @@ """ -Tests for pygmt.which. +Test pygmt.which. """ import os diff --git a/pygmt/tests/test_wiggle.py b/pygmt/tests/test_wiggle.py index 261315e0f9c..89c46f8e42a 100644 --- a/pygmt/tests/test_wiggle.py +++ b/pygmt/tests/test_wiggle.py @@ -1,5 +1,5 @@ """ -Tests wiggle. +Test Figure.wiggle. """ import numpy as np import pytest diff --git a/pygmt/tests/test_x2sys_cross.py b/pygmt/tests/test_x2sys_cross.py index f592174ab77..a287d31ce93 100644 --- a/pygmt/tests/test_x2sys_cross.py +++ b/pygmt/tests/test_x2sys_cross.py @@ -1,6 +1,6 @@ # pylint: disable=unused-argument """ -Tests for x2sys_cross. +Test pygmt.x2sys_cross. """ import os from pathlib import Path diff --git a/pygmt/tests/test_x2sys_init.py b/pygmt/tests/test_x2sys_init.py index 166f29abc2f..e27f892182c 100644 --- a/pygmt/tests/test_x2sys_init.py +++ b/pygmt/tests/test_x2sys_init.py @@ -1,6 +1,6 @@ # pylint: disable=unused-argument """ -Tests for x2sys_init. +Test pygmt.x2sys_init. """ import os from tempfile import TemporaryDirectory diff --git a/pygmt/tests/test_xyz2grd.py b/pygmt/tests/test_xyz2grd.py index 9427a13d0d0..5f11e2c0128 100644 --- a/pygmt/tests/test_xyz2grd.py +++ b/pygmt/tests/test_xyz2grd.py @@ -1,5 +1,5 @@ """ -Tests for xyz2grd. +Test pygmt.xyz2grd. """ from pathlib import Path