diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:37 +0000 |
commit | a90a5cba08fdf6c0ceb95101c275108a152a3aed (patch) | |
tree | 532507288f3defd7f4dcf1af49698bcb76034855 /testing/mozbase/manifestparser/tests | |
parent | Adding debian version 126.0.1-1. (diff) | |
download | firefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.tar.xz firefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.zip |
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/mozbase/manifestparser/tests')
-rwxr-xr-x | testing/mozbase/manifestparser/tests/test_manifestparser.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/testing/mozbase/manifestparser/tests/test_manifestparser.py b/testing/mozbase/manifestparser/tests/test_manifestparser.py index ddbc6ecc79..f1774cfffb 100755 --- a/testing/mozbase/manifestparser/tests/test_manifestparser.py +++ b/testing/mozbase/manifestparser/tests/test_manifestparser.py @@ -5,7 +5,6 @@ # You can obtain one at http://mozilla.org/MPL/2.0/. import os -import re import shutil import tempfile import unittest @@ -621,12 +620,6 @@ yellow = submarine after = "edit-manifest-after.toml" after_path = os.path.join(here, after) after_str = open(after_path, "r", encoding="utf-8").read() - - # Define the regex pattern to match lines containing 'lineno' - pattern = re.compile(r"^.*lineno.*$\n?", re.MULTILINE) - # Remove lines containing 'lineno' - manifest_str = re.sub(pattern, "", manifest_str) - assert manifest_str == after_str |