diff options
author | Georg Brandl <georg@python.org> | 2014-11-10 19:58:20 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-11-10 19:58:20 +0100 |
commit | a19ef4021199452b304431a8a3a53078f4ca4fb4 (patch) | |
tree | bac9f13dd2321d7e6bef5ce0e1047f79f5b34870 /pygments/__init__.py | |
parent | 02217d4da9afd61b258265b62a755280990fb3e9 (diff) | |
download | pygments-a19ef4021199452b304431a8a3a53078f4ca4fb4.tar.gz |
Bring coverage testing up to scratch. Add "pragma: no cover" to __main__ blocks.
Diffstat (limited to 'pygments/__init__.py')
-rw-r--r-- | pygments/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/__init__.py b/pygments/__init__.py index 872ad976..8170d5f0 100644 --- a/pygments/__init__.py +++ b/pygments/__init__.py @@ -86,6 +86,6 @@ def highlight(code, lexer, formatter, outfile=None): return format(lex(code, lexer), formatter, outfile) -if __name__ == '__main__': +if __name__ == '__main__': # pragma: no cover from pygments.cmdline import main sys.exit(main(sys.argv)) |