Fix coverage
This commit is contained in:
parent
a7c235732a
commit
43eab917a1
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue