8000 Suppress coverage failures in selective code · python/importlib_metadata@3e61dba · GitHub
[go: up one dir, main page]

Skip to content

Commit 3e61dba

Browse files
committed
Suppress coverage failures in selective code
1 parent d7653d7 commit 3e61dba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

importlib_metadata/_compat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,13 @@ class PyPy_repr:
125125
sys.version_info < (3,)
126126
)
127127

128-
def __compat_repr__(self):
128+
def __compat_repr__(self): # pragma: nocover
129129
def make_param(name):
130130
value = getattr(self, name)
131131
return '{name}={value!r}'.format(**locals())
132132
params = ', '.join(map(make_param, self._fields))
133133
return 'EntryPoint({params})'.format(**locals())
134134

135-
if affected:
135+
if affected: # pragma: nocover
136136
__repr__ = __compat_repr__
137137
del affected

0 commit comments

Comments
 (0)
0