Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #817 from mozilla-services/fix/coverage
Browse files Browse the repository at this point in the history
fix: really fix coverage
  • Loading branch information
pjenvey authored Feb 13, 2017
2 parents 4b0beaa + da614eb commit feccb86
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ omit =
*noseplugin*
autopush/tests/certs/makecerts.py
autopush/gcdump.py
exclude_lines = def dump_rpy_heap
show_missing = true
2 changes: 1 addition & 1 deletion autopush/memusage.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def trap_err(func, *args, **kwargs):
return buf.getvalue()


def dump_rpy_heap(stream):
def dump_rpy_heap(stream): # pragma: nocover
"""Write PyPy's gcdump to the specified stream"""
if not hasattr(gc, '_dump_rpy_heap'):
# not PyPy
Expand Down
2 changes: 1 addition & 1 deletion autopush/tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -2058,7 +2058,7 @@ def test_memusage(self):
ok_('Logger' in body)
if find_executable('pmap'):
ok_('RSS' in body) # pmap -x output
if hasattr(sys, 'pypy_version_info'):
if hasattr(sys, 'pypy_version_info'): # pragma: nocover
ok_('size: ' in body)
ok_('rpy_unicode' in body)

Expand Down

0 comments on commit feccb86

Please sign in to comment.