Skip to content

Commit

Permalink
Don't include test failure in coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Oct 30, 2022
1 parent bafca2c commit a9a5f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_sample_notebooks_are_normalized.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def test_sample_notebooks_are_normalized(nb_file):
changes, normalized_nb = nbformat.validator.normalize(nb)
nbformat.validate(normalized_nb)

if changes:
if changes: # pragma: no cover
with open(nb_file, "w") as fp:
jupytext.write(normalized_nb, fp)

Expand Down

0 comments on commit a9a5f7d

Please sign in to comment.