summaryrefslogtreecommitdiff
path: root/tests/test_lexers.py
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2006-10-19 20:27:28 +0200
committergbrandl <devnull@localhost>2006-10-19 20:27:28 +0200
commitf4d019954468db777760d21f9243eca8b852c184 (patch)
tree328b8f8fac25338306b0e7b827686dcc7597df23 /tests/test_lexers.py
downloadpygments-f4d019954468db777760d21f9243eca8b852c184.tar.gz
[svn] Name change, round 4 (rename SVN root folder).
Diffstat (limited to 'tests/test_lexers.py')
-rw-r--r--tests/test_lexers.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/test_lexers.py b/tests/test_lexers.py
new file mode 100644
index 00000000..9fb6f54c
--- /dev/null
+++ b/tests/test_lexers.py
@@ -0,0 +1,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)()