File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -427,23 +427,6 @@ def test_read_nrows(self):
427427 with tm .assertRaisesRegexp (ValueError , msg ):
428428 self .read_csv (StringIO (self .data1 ), nrows = 'foo' )
429429
430- def test_read_nrows_large (self ):
431- # GH-7626 - Read only nrows of data in for large inputs (>262144b)
432- header_narrow = '\t ' .join (['COL_HEADER_' + str (i )
433- for i in range (10 )]) + '\n '
434- data_narrow = '\t ' .join (['somedatasomedatasomedata1'
435- for i in range (10 )]) + '\n '
436- header_wide = '\t ' .join (['COL_HEADER_' + str (i )
437- for i in range (15 )]) + '\n '
438- data_wide = '\t ' .join (['somedatasomedatasomedata2'
439- for i in range (15 )]) + '\n '
440- test_input = (header_narrow + data_narrow * 1050 +
441- header_wide + data_wide * 2 )
442-
443- df = self .read_csv (StringIO (test_input ), sep = "\t " , nrows = 1010 )
444-
445- self .assertTrue (df .size == 1010 * 10 )
446-
447430 def test_read_chunksize (self ):
448431 reader = self .read_csv (StringIO (self .data1 ), index_col = 0 , chunksize = 2 )
449432 df = self .read_csv (StringIO (self .data1 ), index_col = 0 )
You can’t perform that action at this time.
0 commit comments