Skip to content

Commit d884867

Browse files
committed
Mark up uncovered sections
1 parent 424b0ee commit d884867

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

djclick/test/test_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def test_not_ascii():
3131
try:
3232
preferred_encoding = locale.getpreferredencoding()
3333
fs_enc = codecs.lookup(preferred_encoding).name
34-
except Exception:
34+
except Exception: # NOCOV
3535
fs_enc = 'ascii'
3636
assert fs_enc != 'ascii'
3737

djclick/test/testprj/testapp/management/commands/helpcmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
@click.command()
55
def command():
66
# Just print some things which shall not be found in the output
7-
click.echo('HELP_CALLED')
7+
click.echo('HELP_CALLED') # NOCOV

0 commit comments

Comments
 (0)