Skip to content

Commit

Permalink
Fix CSV test
Browse files Browse the repository at this point in the history
  • Loading branch information
WardBrian committed Aug 29, 2023
1 parent 89c429f commit eae5228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def test_multiple_files() -> None:
def test_mismatched_files() -> None:
files = [str(DATA / "bernoulli" / f"output_{i}.csv") for i in range(1, 5)]
files[1] = str(DATA / "bernoulli" / "output_more_variables.csv")
with pytest.raises(AssertionError, match="Headers do not match"):
with pytest.raises(ValueError, match="Headers do not match"):
read_csv(files)

files[1] = str(DATA / "bernoulli" / "output_missing_columns.csv")
Expand Down

0 comments on commit eae5228

Please sign in to comment.