Blind attempt number 2

This commit is contained in:
Adrian Chaves 2026-06-19 11:19:11 +02:00
parent 95084bb609
commit d13cd45da2
1 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,9 @@ class ScraperTest(unittest.TestCase):
self.crawler.engine.scraper.slot.active_size
)
crawler = get_crawler(TestSpider)
crawler = get_crawler(
TestSpider, settings_dict={"TELNETCONSOLE_ENABLED": False}
)
with warnings.catch_warnings():
warnings.simplefilter("error")
await maybe_deferred_to_future(crawler.crawl())