From 475f9e15c84c1b84955286137f4398f217355847 Mon Sep 17 00:00:00 2001 From: Aditya Palepu Date: Thu, 29 Mar 2018 15:29:56 -0400 Subject: [PATCH] removed unused test code --- bcolz/tests/test_queries.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/bcolz/tests/test_queries.py b/bcolz/tests/test_queries.py index 633327c2..3e7b06c9 100644 --- a/bcolz/tests/test_queries.py +++ b/bcolz/tests/test_queries.py @@ -312,14 +312,6 @@ def test05(self): def test06(self): """Testing `fetchwhere` method off of a timestamp (pd.datetime64)""" N = self.N - ra = np.fromiter(((i, i * 2., i * 3) - for i in xrange(N)), dtype='i4,f8,i8') - t = bcolz.ctable(ra) - ct = t.fetchwhere('f1 < f2') - l, s = len(ct), ct['f0'].sum() - self.assertEqual(l, N - 1) - self.assertEqual(s, (N - 1) * (N / 2)) # Gauss summation formula - query_idx = np.random.randint(0, self.N) t = bcolz.fromiter(((i, np.datetime64('2018-03-01') + i) for i in range(N)), dtype="i4,M8[D]", count=N) threshold = t[query_idx][1]