Skip to content

Commit

Permalink
gwsumm.tests: update usage of GWpy's has_tex (#390)
Browse files Browse the repository at this point in the history
the HAS_TEX global variable was removed in 3.0.8
  • Loading branch information
duncanmmacleod authored Jan 16, 2024
1 parent a50504f commit 286cd45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gwsumm/tests/test_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

from gwpy.detector import ChannelList
from gwpy.plot import Plot
from gwpy.plot.tex import HAS_TEX
from gwpy.plot.tex import has_tex
from gwpy.segments import Segment

from .. import plot as gwsumm_plot
Expand Down Expand Up @@ -281,7 +281,7 @@ def test_parse_plot_kwargs(self, plot):
pytest.param(
True,
[{'label': r'TEST\_WITH\_UNDERSCORE'}, {'label': r'TEST\_QUOTED'}],
marks=pytest.mark.skipif(not HAS_TEX,
marks=pytest.mark.skipif(not has_tex(),
reason='TeX is not available'),
),
])
Expand Down

0 comments on commit 286cd45

Please sign in to comment.