diff --git a/scripts/json_with_comments.py b/scripts/json_with_comments.py index 18eab24fc..2defb73ca 100644 --- a/scripts/json_with_comments.py +++ b/scripts/json_with_comments.py @@ -3,7 +3,7 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. import json - +from typing import Any class JSONWithCommentsDecoder(json.JSONDecoder): def __init__(self, **kw): diff --git a/scripts/run_tests.py b/scripts/run_tests.py index 5fdbd6d53..2e0fb516f 100644 --- a/scripts/run_tests.py +++ b/scripts/run_tests.py @@ -6,7 +6,6 @@ import os import sys import json from pathlib import Path -from typing import Any from json_with_comments import JSONWithCommentsDecoder IGNORE_PREFS_FILE_IN = os.path.join(