diff options
Diffstat (limited to 'tests/test_basic_api.py')
-rw-r--r-- | tests/test_basic_api.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_basic_api.py b/tests/test_basic_api.py index 37d170aa..eff49383 100644 --- a/tests/test_basic_api.py +++ b/tests/test_basic_api.py @@ -68,7 +68,9 @@ 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) |