diff options
author | Georg Brandl <georg@python.org> | 2013-01-09 12:07:40 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2013-01-09 12:07:40 +0100 |
commit | 170b270a30ac8d9df4c49b1a637f1a91e9b364c2 (patch) | |
tree | 7b2615742dd40c1abe362a1915b5c5ae44820f07 | |
parent | be6eb44b575e67e6fc89aebb91bec828aa6413ed (diff) | |
download | pygments-170b270a30ac8d9df4c49b1a637f1a91e9b364c2.tar.gz |
Remove test file; we do not add regression tests for individual lexers.
-rw-r--r-- | tests/test_scsslexer.py | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/test_scsslexer.py b/tests/test_scsslexer.py deleted file mode 100644 index 3e0bfd75..00000000 --- a/tests/test_scsslexer.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -""" - ScssLexer Tests - ~~~~~~~~~~~~~~~ - - :copyright: Copyright 2006-2012 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -import unittest - -from pygments.token import Text, Number, Name, Operator -from pygments.lexers import ScssLexer - - -class ScssLexerTest(unittest.TestCase): - - def setUp(self): - self.lexer = ScssLexer() - - def testHyphenatedVariable(self): - code = u'$total-columns : 4' - wanted = [ - (Name.Variable, u'$total-columns'), - (Operator, u' :'), - (Text, u' '), - (Number.Integer, u'4'), - (Text, u'\n'), - ] - self.assertEqual(list(self.lexer.get_tokens(code)), wanted) |