Fix asyncio_enabled_reactor_different_loop.py on 3.14.

This commit is contained in:
Andrey Rakhmatullin 2026-07-15 20:29:45 +05:00
parent 5aa254ba04
commit 295f674c6a
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ from scrapy.crawler import AsyncCrawlerProcess
if sys.platform == "win32":
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
asyncioreactor.install(asyncio.get_event_loop())
asyncioreactor.install()
class NoRequestsSpider(scrapy.Spider):