Skip to content

Commit 5c89397

Browse files
committed
Tests: maybe launch in thread
1 parent abff17b commit 5c89397

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async def make_handler(settings_dict: Optional[dict] = None):
4949
crawler = get_crawler(settings_dict=settings)
5050
handler = ScrapyPlaywrightDownloadHandler(crawler=crawler)
5151
try:
52-
await handler._launch()
52+
await handler._maybe_launch_in_thread()
5353
except: # noqa (E722), pylint: disable=bare-except
5454
pass
5555
else:

0 commit comments

Comments
 (0)