Skip to content

Commit

Permalink
Add failing test to demonstrate error in #393
Browse files Browse the repository at this point in the history
  • Loading branch information
James McKinney committed Jan 22, 2016
1 parent 0ae1294 commit 98c65ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ def test_from_csv_no_inference(self):
self.assertEqual(t[3][0], 'True')
self.assertEqual(type(t[3][0]), six.text_type)

def test_from_csv_empty_file(self):
table.Table.from_csv(six.StringIO('\n\n'))

def test_to_csv(self):
with open('examples/testfixed_converted.csv', 'r') as f:
contents = f.read()
Expand Down

0 comments on commit 98c65ab

Please sign in to comment.