Skip to content

Commit 93dbb2f

Browse files
committed
Add no cover pragma
1 parent 239c9b5 commit 93dbb2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_formatting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def test_formatting(
8888
output = f.read()
8989
try:
9090
assert output.decode("utf-8") == expected_output.decode("utf-8")
91-
except AssertionError as e:
91+
except AssertionError as e: # pragma: no cover
9292
if request.config.getoption(UPDATE_OUTPUT_OPTION):
9393
with open(test_name, "wb") as fw:
9494
fw.write(output)

0 commit comments

Comments
 (0)