Skip to content

Commit

Permalink
Add explicit test for multi index parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
milliams committed Aug 10, 2023
1 parent 608a669 commit a608fb9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_voting.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ def test_parse_csv(simple_file):
assert pd.api.types.is_string_dtype(simple_file.index)
assert simple_file.index.is_unique
assert all(pd.api.types.is_string_dtype(c) for _, c in simple_file.items())
assert "Resolutions" in simple_file.columns
assert "Resolution 1" in simple_file["Resolutions"]


def test_stv(simple_file):
Expand Down

0 comments on commit a608fb9

Please sign in to comment.