From 1b6f130a6d883906da54d4a7cdf80dfc00c1574a Mon Sep 17 00:00:00 2001 From: Jessie Wincek Date: Thu, 2 Jun 2016 12:16:52 -0700 Subject: Replaced test method placeholder name and added docstring --- tests/test_python.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/test_python.py') diff --git a/tests/test_python.py b/tests/test_python.py index 766e5c55..fc48624e 100644 --- a/tests/test_python.py +++ b/tests/test_python.py @@ -17,7 +17,11 @@ class PythonTest(unittest.TestCase): def setUp(self): self.lexer = PythonLexer() - def testNeedsName(self): + def test_cls_builtin(self): + """ + Tests that a cls token gets interpreted as a Token.Name.Builtin.Pseudo + + """ fragment = 'class TestClass():\n @classmethod\n def hello(cls):\n pass\n' tokens = [ (Token.Keyword, 'class'), -- cgit v1.2.1