Add a comment about CustomStatsCollector.

This commit is contained in:
Andrey Rakhmatullin 2026-06-20 17:35:20 +05:00
parent b880825165
commit 43a794355a
1 changed files with 1 additions and 0 deletions

View File

@ -131,6 +131,7 @@ class TestStatsCollector:
@coroutine_test
async def test_deprecated_spider_arg_custom_collector(self) -> None:
# the class reimplements many methods because those are called during the test crawl
class CustomStatsCollector:
def __init__(self, crawler):
self._stats = {}