Close the event loop in test_custom_asyncio_loop_enabled_false().

This commit is contained in:
Andrey Rakhmatullin 2026-06-20 00:17:50 +05:00
parent 8b785bbee1
commit 994b4e7fc5
1 changed files with 1 additions and 0 deletions

View File

@ -212,6 +212,7 @@ class MySpider(scrapy.Spider):
f"Using asyncio event loop: {loop.__module__}.{loop.__class__.__name__}"
in log
)
loop.close()
def test_no_reactor(self, tmp_path: Path) -> None:
log = self.get_log(