File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -359,11 +359,6 @@ def test_empty_field_eof(self):
359
359
names = list ('abcd' ), engine = 'c' )
360
360
assert_frame_equal (df , c )
361
361
362
- def test_chunk_begins_with_newline_whitespace (self ):
363
- data = '\n hello\n world\n '
364
- result = TextReader (StringIO (data ), header = None ).read ()
365
- self .assertEqual (len (result [0 ]), 2 )
366
-
367
362
def assert_array_dicts_equal (left , right ):
368
363
for k , v in compat .iteritems (left ):
369
364
assert (np .array_equal (v , right [k ]))
Original file line number Diff line number Diff line change @@ -2287,6 +2287,12 @@ def test_single_char_leading_whitespace(self):
2287
2287
result = self .read_csv (StringIO (data ), skipinitialspace = True )
2288
2288
tm .assert_frame_equal (result , expected )
2289
2289
2290
+ def test_chunk_begins_with_newline_whitespace (self ):
2291
+ # GH 10022
2292
+ data = '\n hello\n world\n '
2293
+ result = self .read_csv (StringIO (data ), header = None )
2294
+ self .assertEqual (len (result ), 2 )
2295
+
2290
2296
2291
2297
class TestPythonParser (ParserTests , tm .TestCase ):
2292
2298
def test_negative_skipfooter_raises (self ):
You can’t perform that action at this time.
0 commit comments