Skip to content

Commit

Permalink
Measure test coverage of exceptions (#7823)
Browse files Browse the repository at this point in the history
Part of #6528.

IMO, exceptions are also part of the public API so we should measure the
test coverage over them, but feel free to close this PR if you think
otherwise ;)

---------

Co-authored-by: rusty1s <matthias.fey@tu-dortmund.de>
  • Loading branch information
akihironitta and rusty1s authored Aug 1, 2023
1 parent 1199597 commit b7e2c61
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,7 @@ omit = [
exclude_lines = [
"pragma: no cover",
"pass",
"raise",
"except",
"raise NotImplementedError",
"register_parameter",
"warn",
"torch.cuda.is_available",
Expand Down

0 comments on commit b7e2c61

Please sign in to comment.