Skip to content

Commit 3d96dc6

Browse files
committed
add no-cover
1 parent 9f7255e commit 3d96dc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing/python/raises.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,10 +331,10 @@ def test_raises_match_wrong_type(self):
331331
def test_raises_exception_looks_iterable(self):
332332
class Meta(type):
333333
def __getitem__(self, item):
334-
return 1 / 0
334+
return 1 / 0 # pragma: no cover
335335

336336
def __len__(self):
337-
return 1
337+
return 1 # pragma: no cover
338338

339339
class ClassLooksIterableException(Exception, metaclass=Meta):
340340
pass

0 commit comments

Comments
 (0)