Originally reported byBen Finney (Bitbucket: bignose, GitHub: bignose)
The Coverage.py command is installed with numerous aliases, but the command name ‘coverage’ is hard-coded throughout. Instead, the command name should be inferred from ‘sys.argv’ when referring to the command which was used to run the program.
Also, on some systems Coverage.py is installed with a different command name than ‘coverage’ (e.g. where ‘coverage’ is too broad and a more specific name is needed). The test suite hard-codes ‘coverage’ throughout; instead, please set this in one place so it can be easily changed.