mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 16:14:02 +00:00
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:
@@ -12,6 +12,8 @@ exclude_lines =
|
||||
# Don't require coverage for Python 2/3 variations; it's impossible to cover on both
|
||||
if six.PY3:
|
||||
if six.PY2:
|
||||
# Don't require coverage for __unicode__ statements just used for printing
|
||||
def __unicode__[(]self[)]:
|
||||
|
||||
[run]
|
||||
omit =
|
||||
|
Reference in New Issue
Block a user