We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89c429f commit eae5228Copy full SHA for eae5228
test/test_csv.py
@@ -33,7 +33,7 @@ def test_multiple_files() -> None:
33
def test_mismatched_files() -> None:
34
files = [str(DATA / "bernoulli" / f"output_{i}.csv") for i in range(1, 5)]
35
files[1] = str(DATA / "bernoulli" / "output_more_variables.csv")
36
- with pytest.raises(AssertionError, match="Headers do not match"):
+ with pytest.raises(ValueError, match="Headers do not match"):
37
read_csv(files)
38
39
files[1] = str(DATA / "bernoulli" / "output_missing_columns.csv")
0 commit comments