From fcea19dfd2c426bac0456da850e7c12258e4b9eb Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 8 Apr 2024 17:11:26 +0200 Subject: Adding upstream version 115.8.0esr. Signed-off-by: Daniel Baumann --- testing/mozharness/scripts/desktop_unittest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testing/mozharness/scripts/desktop_unittest.py') diff --git a/testing/mozharness/scripts/desktop_unittest.py b/testing/mozharness/scripts/desktop_unittest.py index 336f2c752b..b2bf44c2b2 100755 --- a/testing/mozharness/scripts/desktop_unittest.py +++ b/testing/mozharness/scripts/desktop_unittest.py @@ -12,7 +12,6 @@ author: Jordan Lund import copy import glob -import imp import json import multiprocessing import os @@ -25,6 +24,7 @@ from datetime import datetime, timedelta here = os.path.abspath(os.path.dirname(__file__)) sys.path.insert(1, os.path.dirname(here)) +from mozfile import load_source from mozharness.base.errors import BaseErrorList from mozharness.base.log import INFO, WARNING from mozharness.base.script import PreScriptAction @@ -1167,7 +1167,7 @@ class DesktopUnittest(TestingMixin, MercurialScript, MozbaseMixin, CodeCoverageM ) if suite_category == "reftest": - ref_formatter = imp.load_source( + ref_formatter = load_source( "ReftestFormatter", os.path.abspath( os.path.join(dirs["abs_reftest_dir"], "output.py") -- cgit v1.2.3