Skip to content

Commit

Permalink
test: Add failing test for 1.10.0 (fixed in 1.10.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Apr 28, 2024
1 parent 2898d17 commit 7734845
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/empty.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

8 changes: 8 additions & 0 deletions tests/test_table/test_from_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,3 +187,11 @@ def test_from_csv_row_limit_too_high(self):
self.assertColumnTypes(table2, [Number, Text, Boolean, Date, DateTime, TimeDelta])

self.assertRows(table2, table1.rows)

def test_from_csv_empty(self):
table = Table.from_csv('examples/empty.csv')

self.assertColumnNames(table, [])
self.assertColumnTypes(table, [])

self.assertRows(table, [])

0 comments on commit 7734845

Please sign in to comment.