diff options
author | Tim Hatch <tim@timhatch.com> | 2015-10-14 18:33:43 -0700 |
---|---|---|
committer | Tim Hatch <tim@timhatch.com> | 2015-10-14 18:33:43 -0700 |
commit | 56e49bdf1fc057ac87d55eb51a8dc4ceaca83ca4 (patch) | |
tree | 84fbd9b3a294e1c56cc720eb0b486d5f081a8088 | |
parent | 6d0b5ca281d57ec6b7bf8e3bc94c6ff78e82cb35 (diff) | |
download | pygments-56e49bdf1fc057ac87d55eb51a8dc4ceaca83ca4.tar.gz |
Fixup naming of IRC test; add to docs
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | CHANGES | 6 | ||||
-rw-r--r-- | tests/test_irc_formatter.py | 10 |
3 files changed, 10 insertions, 7 deletions
@@ -23,6 +23,7 @@ Other contributors, listed alphabetically, are: * Michael Bayer -- Myghty lexers * Thomas Beale -- Archetype lexers * John Benediktsson -- Factor lexer +* Trevor Bergeron -- mIRC formatter * Vincent Bernat -- LessCSS lexer * Christopher Bertels -- Fancy lexer * Jarrett Billingsley -- MiniD lexer @@ -39,6 +39,12 @@ Version 2.1 * Lovelace (PR#456) * Algol and Algol-nu (#1090) + +- Added formatters: + + * IRC (PR#458) + + - Updated autopygmentize script (PR#445) - Fixed style inheritance for non-standard token types in HTML output. diff --git a/tests/test_irc_formatter.py b/tests/test_irc_formatter.py index 649e430d..16a8fd30 100644 --- a/tests/test_irc_formatter.py +++ b/tests/test_irc_formatter.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """ - Pygments HTML formatter tests - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + Pygments IRC formatter tests + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. @@ -9,12 +9,8 @@ from __future__ import print_function -import io -import os import re import unittest -import tempfile -from os.path import join, dirname, isfile from pygments.util import StringIO from pygments.lexers import PythonLexer @@ -24,7 +20,7 @@ import support tokensource = list(PythonLexer().get_tokens("lambda x: 123")) -class HtmlFormatterTest(unittest.TestCase): +class IRCFormatterTest(unittest.TestCase): def test_correct_output(self): hfmt = IRCFormatter() houtfile = StringIO() |