mirror of https://github.com/zulip/zulip.git
coverage: Don't require test coverage for __unicode__ methods.
These are usually just used for manual debugging, and so aren't super important to make sure we have tests for always.
This commit is contained in:
parent
7c6f0033ed
commit
85fe53f5e3
|
@ -12,6 +12,8 @@ exclude_lines =
|
||||||
# Don't require coverage for Python 2/3 variations; it's impossible to cover on both
|
# Don't require coverage for Python 2/3 variations; it's impossible to cover on both
|
||||||
if six.PY3:
|
if six.PY3:
|
||||||
if six.PY2:
|
if six.PY2:
|
||||||
|
# Don't require coverage for __unicode__ statements just used for printing
|
||||||
|
def __unicode__[(]self[)]:
|
||||||
|
|
||||||
[run]
|
[run]
|
||||||
omit =
|
omit =
|
||||||
|
|
Loading…
Reference in New Issue