Skip to content

Commit cb29a48

Browse files
committed
Remove test_read_csv_memory_growth_chunksize as there's an asv
1 parent 231e00c commit cb29a48

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

pandas/tests/io/parser/common/test_chunksize.py

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -300,30 +300,6 @@ def test_empty_with_nrows_chunksize(all_parsers, iterator):
300300
tm.assert_frame_equal(result, expected)
301301

302302

303-
def test_read_csv_memory_growth_chunksize(temp_file, all_parsers):
304-
# see gh-24805
305-
#
306-
# Let's just make sure that we don't crash
307-
# as we iteratively process all chunks.
308-
parser = all_parsers
309-
310-
with open(temp_file, "w", encoding="utf-8") as f:
311-
for i in range(1000):
312-
f.write(str(i) + "\n")
313-
314-
if parser.engine == "pyarrow":
315-
msg = "The 'chunksize' option is not supported with the 'pyarrow' engine"
316-
with pytest.raises(ValueError, match=msg):
317-
with parser.read_csv(temp_file, chunksize=20) as result:
318-
for _ in result:
319-
pass
320-
return
321-
322-
with parser.read_csv(temp_file, chunksize=20) as result:
323-
for _ in result:
324-
pass
325-
326-
327303
def test_chunksize_with_usecols_second_block_shorter(all_parsers):
328304
# GH#21211
329305
parser = all_parsers

0 commit comments

Comments
 (0)