Fix coverage

This commit is contained in:
Ran Benita 2019-08-20 15:41:32 +03:00
parent a7c235732a
commit 43eab917a1
2 changed files with 2 additions and 2 deletions

View File

@ -350,7 +350,7 @@ class FuncargnamesCompatAttr:
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

View File

@ -166,7 +166,7 @@ class TestRaises:
# 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