Skip to content

Commit eae5228

Browse files
committed
Fix CSV test
1 parent 89c429f commit eae5228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_csv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def test_multiple_files() -> None:
3333
def test_mismatched_files() -> None:
3434
files = [str(DATA / "bernoulli" / f"output_{i}.csv") for i in range(1, 5)]
3535
files[1] = str(DATA / "bernoulli" / "output_more_variables.csv")
36-
with pytest.raises(AssertionError, match="Headers do not match"):
36+
with pytest.raises(ValueError, match="Headers do not match"):
3737
read_csv(files)
3838

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

0 commit comments

Comments
 (0)