From c97a306fe7e9493fc3bed034da5e84bcd5f67a41 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 12 May 2026 13:25:09 -0400 Subject: release: update-manpages: revert color filtering We pull a pinned help2man from cipd now, so we should get stable behavior between developers. That means the color filtering should not be necessary anymore, and we can drop the logic & unittest. Change-Id: Ib53e1ce7f8d610d7f624c9a019c79dc5f438ac0d Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/582402 Tested-by: Mike Frysinger Reviewed-by: Gavin Mak --- tests/test_update_manpages.py | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 tests/test_update_manpages.py (limited to 'tests') diff --git a/tests/test_update_manpages.py b/tests/test_update_manpages.py deleted file mode 100644 index f52f8575f..000000000 --- a/tests/test_update_manpages.py +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright (C) 2022 The Android Open Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -"""Unittests for the update_manpages module.""" - -from release import update_manpages - - -def test_replace_regex() -> None: - """Check that replace_regex works.""" - data = "\n\033[1mSummary\033[m\n" - assert update_manpages.replace_regex(data) == "\nSummary\n" -- cgit v1.2.3-54-g00ecf