Skip to content

Commit

Permalink
Make sure TestReports are not collected as test classes
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed Mar 21, 2019
1 parent 8b683f6 commit 2dc6aeb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/_pytest/reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ class TestReport(BaseReport):
they fail).
"""

__test__ = False

def __init__(
self,
nodeid,
Expand Down

0 comments on commit 2dc6aeb

Please sign in to comment.