Skip to content

Commit

Permalink
minor bug fix in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Chilipp committed May 22, 2018
1 parent 40ad230 commit e52b1bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_plotters.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,9 @@ def _test_DtTicksBase(self, *args):
list(range(2, 6)))
plotter.update(xticks={'minor': 'week'}, xticklabels={'minor': '%d'},
xtickprops={'pad': 7.0})
ticks = plotter.ax.get_xticks(minor=True)
self.assertEqual(
plotter.ax.get_xticks(minor=True).tolist(),
ticks[(ticks >= 722487.75) & (ticks <= 722599.75)].tolist(),
[722487.75, 722494.75, 722501.75, 722508.75, 722515.75,
722522.75, 722529.75, 722536.75, 722543.75, 722550.75,
722557.75, 722564.75, 722571.75, 722578.75, 722585.75,
Expand Down

0 comments on commit e52b1bb

Please sign in to comment.