Remove "pragma: no cover" comments

This commit is contained in:
Daniel Hahler 2020-01-12 20:35:20 +01:00
parent 4ff7453b48
commit f0c7f21312
2 changed files with 2 additions and 2 deletions

View File

@ -371,7 +371,7 @@ class CaptureIO(io.TextIOWrapper):
return self.buffer.getvalue().decode("UTF-8")
if sys.version_info < (3, 5, 2): # pragma: no cover
if sys.version_info < (3, 5, 2):
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): # pragma: no cover
if sys.version_info < (3, 5, 2):
del self
raise ValueError