From e52b1bb1023a8c7e2cb29baf061911729a1b166d Mon Sep 17 00:00:00 2001
From: Chilipp
Date: Tue, 22 May 2018 10:17:27 +0200
Subject: [PATCH] minor bug fix in tests
---
tests/test_plotters.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/test_plotters.py b/tests/test_plotters.py
index ac3a25c..0830085 100755
--- a/tests/test_plotters.py
+++ b/tests/test_plotters.py
@@ -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,