Skip to content

Commit 3c87c1c

Browse files
committed
Remove "pragma: no cover" comments
1 parent b784280 commit 3c87c1c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/_pytest/compat.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ def getvalue(self) -> str:
372372
return self.buffer.getvalue().decode("UTF-8")
373373

374374

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

377377
def overload(f): # noqa: F811
378378
return f

testing/python/raises.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def __call__(self):
166166
# Early versions of Python 3.5 have some bug causing the
167167
# __call__ frame to still refer to t even after everything
168168
# is done. This makes the test pass for them.
169-
if sys.version_info < (3, 5, 2): # pragma: no cover
169+
if sys.version_info < (3, 5, 2):
170170
del self
171171
raise ValueError
172172

0 commit comments

Comments
 (0)