Skip to content

Commit d856f4e

Browse files
committed
Make sure TestReports are not collected as test classes
1 parent 7b9a414 commit d856f4e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/_pytest/reports.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,8 @@ class TestReport(BaseReport):
275275
they fail).
276276
"""
277277

278+
__test__ = False
279+
278280
def __init__(
279281
self,
280282
nodeid,

0 commit comments

Comments
 (0)