summaryrefslogtreecommitdiff
path: root/tests/test_smarty.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2019-05-06 16:18:56 +0200
committerGeorg Brandl <georg@python.org>2019-05-06 16:18:56 +0200
commit65873fba7b51171e35d4496fdf5bf38f54285dfa (patch)
tree2be25b1e326d0c0991c450fa729a2a90ff6874a3 /tests/test_smarty.py
parente84d28cdeb6d62be2325709fda6c2893330a83be (diff)
downloadpygments-65873fba7b51171e35d4496fdf5bf38f54285dfa.tar.gz
Cleanup test modules, more pytest-like testing.
Diffstat (limited to 'tests/test_smarty.py')
-rw-r--r--tests/test_smarty.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_smarty.py b/tests/test_smarty.py
index e1e079d9..a9bce11c 100644
--- a/tests/test_smarty.py
+++ b/tests/test_smarty.py
@@ -9,7 +9,7 @@
import unittest
-from pygments.token import Operator, Number, Text, Token
+from pygments.token import Token
from pygments.lexers import SmartyLexer
@@ -37,4 +37,3 @@ class SmartyTest(unittest.TestCase):
(Token.Other, u'\n'),
]
self.assertEqual(tokens, list(self.lexer.get_tokens(fragment)))
-