commit 4a9f170334087cc93613eb21f8875257909f38f4
parent 040998e094c02be42ee00f9ebd35854992568959
Author: Alex Hochheiden <ahochheiden@mozilla.com>
Date: Wed, 10 Dec 2025 06:03:23 +0000
Bug 2003412 - Fix PLR0133 warnings: Remove comparison of constant with itself r=emilio
https://docs.astral.sh/ruff/rules/comparison-of-constant/
Differential Revision: https://phabricator.services.mozilla.com/D274692
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testing/mozharness/test/test_base_config.py b/testing/mozharness/test/test_base_config.py
@@ -30,7 +30,7 @@ class TestParseConfigFile(unittest.TestCase):
fh = open(filename)
contents = json.load(fh)
fh.close()
- if "output" == "dict":
+ if output == "dict":
return dict(contents)
else:
return contents