coverage: Update pattern for __str__ for new typing syntax.

The new Python 3 typing syntax means the def lines for __str__ can
look a bit different.
This commit is contained in:
Tim Abbott 2017-11-22 12:16:24 -08:00
parent db240de555
commit a4e9da22e0
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ exclude_lines =
# Don't require coverage for test suite AssertionError -- they're usually for clarity
raise AssertionError
# Don't require coverage for __str__ statements just used for printing
def __str__[(]self[)]:
def __str__[(]self[)] -> .*:
[run]
omit =