File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed
pandas/tests/io/parser/common Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff 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-
327303def test_chunksize_with_usecols_second_block_shorter (all_parsers ):
328304 # GH#21211
329305 parser = all_parsers
You can’t perform that action at this time.
0 commit comments