Skip to content

Commit 710227a

Browse files
authored
Fix pytest collection warning (#4574)
fixes ``` PytestCollectionWarning: cannot collect test class 'TestSpanClientReports' because it has a __init__ constructor (from: tests/test_client.py) class TestSpanClientReports: ```
1 parent 30ad1b2 commit 710227a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1342,6 +1342,8 @@ class TestSpanClientReports:
13421342
Tests for client reports related to spans.
13431343
"""
13441344

1345+
__test__ = False
1346+
13451347
@staticmethod
13461348
def span_dropper(spans_to_drop):
13471349
"""

0 commit comments

Comments
 (0)