Skip to content

Commit

Permalink
Explain a mystery
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Sep 2, 2020
1 parent ebb6b39 commit c315908
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/coveragetest.py
Expand Up @@ -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):
Expand Down

0 comments on commit c315908

Please sign in to comment.