summaryrefslogtreecommitdiff
path: root/tests/test_basic_api.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_basic_api.py')
-rw-r--r--tests/test_basic_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_basic_api.py b/tests/test_basic_api.py
index 9ec6e928..19e1988b 100644
--- a/tests/test_basic_api.py
+++ b/tests/test_basic_api.py
@@ -63,7 +63,7 @@ def test_lexer_classes():
try:
tokens = list(inst.get_tokens(test_content))
except KeyboardInterrupt:
- raise KeyboardInterrupt('interrupted %s.get_tokens(): test_content=%r' % (cls.name, test_content))
+ raise KeyboardInterrupt('interrupted %s.get_tokens(): test_content=%r' % (cls.__name__, test_content))
txt = ""
for token in tokens:
assert isinstance(token, tuple)