From c3159081ae67864f75aacc1b86310fe9d8d614cb Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Wed, 2 Sep 2020 07:18:46 -0400 Subject: [PATCH] Explain a mystery --- tests/coveragetest.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/coveragetest.py b/tests/coveragetest.py index 58cfb3dc6..f4961ed9b 100644 --- a/tests/coveragetest.py +++ b/tests/coveragetest.py @@ -348,6 +348,10 @@ def command_line(self, args, ret=OK): ret_actual = command_line(args) self.assertEqual(ret_actual, ret) + # Some distros rename the coverage command, and need a way to indicate + # their new command name to the tests. This is here for them to override, + # for example: + # https://salsa.debian.org/debian/pkg-python-coverage/-/blob/master/debian/patches/02.rename-public-programs.patch coverage_command = "coverage" def run_command(self, cmd):