Skip to content

Commit 7bdde48

Browse files
committed
Removing unneeded test
1 parent 3bda51d commit 7bdde48

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

pandas/io/tests/parser/data/blank.csv

Whitespace-only changes.

pandas/io/tests/parser/test_textreader.py

+3-8
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ def setUp(self):
3232
self.csv1 = os.path.join(self.dirpath, 'test1.csv')
3333
self.csv2 = os.path.join(self.dirpath, 'test2.csv')
3434
self.xls1 = os.path.join(self.dirpath, 'test.xls')
35-
self.blankcsv = os.path.join(self.dirpath, 'blank.csv')
3635

3736
def test_file_handle(self):
3837
try:
@@ -395,13 +394,9 @@ def test_empty_field_eof(self):
395394

396395
def test_empty_csv_input(self):
397396
# GH14867
398-
df1 = read_csv(StringIO(), chunksize=20, header=None,
399-
names=['a', 'b', 'c'])
400-
self.assertTrue(isinstance(df1, TextFileReader))
401-
402-
df2 = read_csv(self.blankcsv, chunksize=20,
403-
header=None, names=['a', 'b', 'c'])
404-
self.assertTrue(isinstance(df2, TextFileReader))
397+
df = read_csv(StringIO(), chunksize=20, header=None,
398+
names=['a', 'b', 'c'])
399+
self.assertTrue(isinstance(df, TextFileReader))
405400

406401

407402
def assert_array_dicts_equal(left, right):

0 commit comments

Comments
 (0)