mirror of https://github.com/scrapy/scrapy.git
Close the event loop in test_custom_asyncio_loop_enabled_false().
This commit is contained in:
parent
8b785bbee1
commit
994b4e7fc5
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue