diff options
Diffstat (limited to 'pygments/formatters/other.py')
-rw-r--r-- | pygments/formatters/other.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pygments/formatters/other.py b/pygments/formatters/other.py index d8e5f4f7..6100f70b 100644 --- a/pygments/formatters/other.py +++ b/pygments/formatters/other.py @@ -136,10 +136,8 @@ class TestcaseFormatter(Formatter): def __init__(self, **options): Formatter.__init__(self, **options) - #if self.encoding != 'utf-8': - # print >>sys.stderr, "NOTICE: Forcing encoding to utf-8, as all Pygments source is" if self.encoding is not None and self.encoding != 'utf-8': - raise ValueError("Only None and utf-u are allowed encodings.") + raise ValueError("Only None and utf-8 are allowed encodings.") def format(self, tokensource, outfile): indentation = ' ' * 12 |