Skip to content

Commit 43eab91

Browse files
committed
Fix coverage
1 parent a7c2357 commit 43eab91

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/_pytest/compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ def funcargnames(self):
350350
return self.fixturenames
351351

352352

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

355355
def overload(f): # noqa: F811
356356
return f

testing/python/raises.py

Lines changed: 1 addition & 1 deletion
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):
169+
if sys.version_info < (3, 5, 2): # pragma: no cover
170170
del self
171171
raise ValueError
172172

0 commit comments

Comments
 (0)