Skip to content

Commit d1d8835

Browse files
committed
Fix quart PytestCollectionWarning
cannot collect test class 'TestClientProtocol' because it has a __init__ constructor
1 parent 68ff98d commit d1d8835

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/quart/conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from quart.typing import TestClientProtocol
2+
3+
TestClientProtocol.__test__ = False # type: ignore

0 commit comments

Comments
 (0)