Skip to content

Commit

Permalink
Update tests/test_unit/test_validators/test_files_validators.py
Browse files Browse the repository at this point in the history
Co-authored-by: Niko Sirmpilatze <[email protected]>
  • Loading branch information
vigji and niksirbi authored Dec 10, 2024
1 parent da91251 commit e5ea4ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_unit/test_validators/test_files_validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def test_anipose_csv_validator_with_invalid_input(
- error if bboxes IDs are not 1-based integers
"""
file_path = request.getfixturevalue(invalid_input)
with pytest.raises(ValueError) as excinfo:
with pytest.raises(error_type) as excinfo:
ValidAniposeCSV(file_path)

assert log_message in str(excinfo.value)

0 comments on commit e5ea4ab

Please sign in to comment.