From 44bb4995b4518934f298951d72c9730f32a829d5 Mon Sep 17 00:00:00 2001 From: moz-wptsync-bot Date: Wed, 27 Sep 2023 16:46:02 +0000 Subject: [PATCH] Bug 1855460 - Fix import in wptrunner. Differential Revision: https://phabricator.services.mozilla.com/D189375 --- .../tests/tools/wptrunner/wptrunner/wptcommandline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/web-platform/tests/tools/wptrunner/wptrunner/wptcommandline.py b/testing/web-platform/tests/tools/wptrunner/wptrunner/wptcommandline.py index 89092e8bf0dc..1d7d362d1b4a 100644 --- a/testing/web-platform/tests/tools/wptrunner/wptrunner/wptcommandline.py +++ b/testing/web-platform/tests/tools/wptrunner/wptrunner/wptcommandline.py @@ -11,7 +11,6 @@ from . import config from . import products from . import wpttest from .formatters import chromium, wptreport, wptscreenshot -from manifest import mputil # type: ignore def abs_path(path): return os.path.abspath(os.path.expanduser(path)) @@ -611,6 +610,7 @@ def check_args(kwargs): sys.exit(1) if kwargs["processes"] is None: + from manifest import mputil # type: ignore kwargs["processes"] = mputil.max_parallelism() if kwargs["fully_parallel"] else 1 if kwargs["debugger"] is not None: