summaryrefslogtreecommitdiff
path: root/tests/test_lexers.py
blob: 9fb6f54c2e288170a5722705236773dac7622725 (plain)
1
2
3
4
5
6
7
8
9
10
import unittest

import pygments.lexers

class LexerTest(unittest.TestCase):

    def testImportAll(self):
        # instantiate every lexer, to see if the token type defs are correct
        for x in pygments.lexers.LEXERS.keys():
            c = getattr(pygments.lexers, x)()