Skip to content

Commit

Permalink
gwpy/plot: fix another precision issue
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmmacleod committed May 5, 2020
1 parent 0e3e1f7 commit 55c90d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gwpy/plot/tests/test_segments.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

from ...segments import (Segment, SegmentList, SegmentListDict,
DataQualityFlag, DataQualityDict)
from ...time import LIGOTimeGPS
from ...time import to_gps
from .. import SegmentAxes
from ..segments import SegmentRectangle
from .test_axes import TestAxes as _TestAxes
Expand Down Expand Up @@ -140,7 +140,7 @@ def test_insetlabels(self, ax, segments):
def test_fmt_data(self, ax):
# just check that the LIGOTimeGPS repr is in place
value = 1234567890.123
assert ax.format_xdata(value) == str(LIGOTimeGPS(value))
assert ax.format_xdata(value) == str(to_gps(value))

# -- disable tests from upstream

Expand Down

0 comments on commit 55c90d0

Please sign in to comment.