Commits

Anonymous committed bd9dbf6

[svn] Make the test suite pass.

  • Participants
  • Parent commits 15f6474
  • Branches trunk

Comments (0)

Files changed (2)

File pygments/formatters/rtf.py

 
 
 class RtfFormatter(Formatter):
+    """Output RTF (Rich Text Format)."""
 
     def __init__(self, **options):
         """

File tests/test_basic_api.py

         # test that every formatter class has the correct public API
         for formatter, info in formatters.FORMATTERS.iteritems():
             a(len(info) == 4)
-            a(info[0]) # name
-            a(info[1]) # aliases
-            a(info[3]) # doc
+            a(info[0], "missing formatter name") # name
+            a(info[1], "missing formatter aliases") # aliases
+            a(info[3], "missing formatter docstring") # doc
 
             inst = formatter(opt1="val1")
             inst.get_style_defs()