Skip to content

Commit f55bb64

Browse files
author
Brendan Boerner
committed
Revert "1st draft of test case for pandas-dev#8014"
This reverts commit a6d0ec3.
1 parent d7d2937 commit f55bb64

File tree

1 file changed

+0
-41
lines changed

1 file changed

+0
-41
lines changed

pandas/io/tests/test_pytables.py

-41
Original file line numberDiff line numberDiff line change
@@ -3253,47 +3253,6 @@ def test_select_with_many_inputs(self):
32533253
tm.assert_frame_equal(expected, result)
32543254
self.assertEqual(len(result), 100)
32553255

3256-
def test_select_iterator_8014(self):
3257-
3258-
# single table
3259-
with ensure_clean_store(self.path) as store:
3260-
3261-
frames = []
3262-
df = tm.makeTimeDataFrame(200000, 'S')
3263-
_maybe_remove(store, 'df')
3264-
store.append('df', df)
3265-
frames.append(df)
3266-
df = tm.makeTimeDataFrame(58689, 'S')
3267-
store.append('df', df)
3268-
frames.append(df)
3269-
df = tm.makeTimeDataFrame(41375, 'S')
3270-
frames.append(df)
3271-
store.append('df', df)
3272-
expected = concat(frames)
3273-
3274-
beg_dt = expected.index[0]
3275-
end_dt = expected.index[-1]
3276-
#expected = store.select('df')
3277-
3278-
# select w/o iteration works
3279-
result = store.select('df')
3280-
tm.assert_frame_equal(expected, result)
3281-
3282-
# select w/iterator and no where clause works
3283-
results = []
3284-
for s in store.select('df',iterator=True):
3285-
results.append(s)
3286-
result = concat(results)
3287-
tm.assert_frame_equal(expected, result)
3288-
3289-
# select w/iterator and where clause fails
3290-
where = "index >= '%s' & index <= '%s'" % (beg_dt, end_dt)
3291-
results = []
3292-
for s in store.select('df',where=where,iterator=True):
3293-
results.append(s)
3294-
result = concat(results)
3295-
tm.assert_frame_equal(expected, result)
3296-
32973256
def test_select_iterator(self):
32983257

32993258
# single table

0 commit comments

Comments
 (0)