summaryrefslogtreecommitdiff
path: root/tests/test_basic_api.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_basic_api.py')
-rw-r--r--tests/test_basic_api.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_basic_api.py b/tests/test_basic_api.py
index 2a967317..a8b4ea96 100644
--- a/tests/test_basic_api.py
+++ b/tests/test_basic_api.py
@@ -89,6 +89,10 @@ class FormattersTest(unittest.TestCase):
inst.get_style_defs()
inst.format(ts, out)
+ def test_styles(self):
+ from pygments.formatters import HtmlFormatter
+ fmt = HtmlFormatter(style="pastie")
+
def test_unicode_handling(self):
# test that the formatter supports encoding and Unicode
tokens = list(lexers.PythonLexer(encoding='utf-8').get_tokens("def f(): 'รค'"))