Skip to content

Commit

Permalink
excluded __str__ methods from coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimevp54 committed Mar 2, 2021
1 parent 3b2a002 commit eb13bed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ exclude_lines =
if self.debug:
pragma: no cover
raise NotImplementedError
def __str__
if __name__ == .__main__.:
ignore_errors = True
1 change: 0 additions & 1 deletion htmlBuilder/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ def test_raise_error_if_not_in_allowed_tag(self):
self.expected_error_count += 1
try:
tag([attribute('test')])
print('ups')
except InvalidAttributeError:
self.error_count += 1
self.assertEqual(self.error_count, self.expected_error_count)

0 comments on commit eb13bed

Please sign in to comment.