Skip to content

Commit

Permalink
Fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
bluetech committed Aug 20, 2019
1 parent a7c2357 commit 43eab91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/_pytest/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def funcargnames(self):
return self.fixturenames


if sys.version_info < (3, 5, 2):
if sys.version_info < (3, 5, 2): # pragma: no cover

def overload(f): # noqa: F811
return f
2 changes: 1 addition & 1 deletion testing/python/raises.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def __call__(self):
# Early versions of Python 3.5 have some bug causing the
# __call__ frame to still refer to t even after everything
# is done. This makes the test pass for them.
if sys.version_info < (3, 5, 2):
if sys.version_info < (3, 5, 2): # pragma: no cover
del self
raise ValueError

Expand Down

0 comments on commit 43eab91

Please sign in to comment.