diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-12-08 22:35:23 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-12-08 22:35:23 +0000 |
commit | 886c40bc9ea85f2e8119b8073131e22692cc1d3c (patch) | |
tree | 07986254f1b230b4b385e0ce93496c33b1df70e3 /cliapp/app.py | |
parent | 978d47b87070520a43b5c8d0ed29f072fb2f3d84 (diff) | |
download | cliapp-886c40bc9ea85f2e8119b8073131e22692cc1d3c.tar.gz |
Exclude the help subcommand code from test coverage
There's no useful way to test it.
Diffstat (limited to 'cliapp/app.py')
-rw-r--r-- | cliapp/app.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cliapp/app.py b/cliapp/app.py index a77bda8..88eed13 100644 --- a/cliapp/app.py +++ b/cliapp/app.py @@ -243,7 +243,7 @@ class Application(object): if 'help' not in self.subcommands: self.add_subcommand('help', self.help) - def help(self, args): + def help(self, args): # pragma: no cover '''Print help.''' text = '%s\n%s\n' % (self._format_usage(), self._format_description()) |