Skip to content

Commit

Permalink
Merge b499ba0 into 5c814c7
Browse files Browse the repository at this point in the history
  • Loading branch information
aad1tya committed Feb 11, 2023
2 parents 5c814c7 + b499ba0 commit 3b495ec
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -1901,3 +1901,9 @@ def test_read_table():
assert isinstance(Table().read_table("tests/us-unemployment-copy"), Table)
assert isinstance(Table().read_table("tests/us-unemployment.txt"), Table)
assert isinstance(Table().read_table("https://raw.githubusercontent.com/data-8/textbook/main/assets/data/deflategate.csv"), Table)

def test_no_records():
"""Test that Table returns nothing on an empty record"""
empty_table = Table()
records_empty_table = Table().from_records([])
assert empty_table == records_empty_table

0 comments on commit 3b495ec

Please sign in to comment.