mirror of https://github.com/scrapy/scrapy.git
Add a comment about CustomStatsCollector.
This commit is contained in:
parent
b880825165
commit
43a794355a
|
|
@ -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 = {}
|
||||
|
|
|
|||
Loading…
Reference in New Issue