summaryrefslogtreecommitdiff
path: root/tests/test_basic_api.py
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2014-10-04 11:06:28 -0700
committerTim Hatch <tim@timhatch.com>2014-10-04 11:06:28 -0700
commit900ce2be770ce98e7a93d5e687ae6a0184b2015c (patch)
tree79326f0131a31ddb903294f2e21973a7de1c6a6a /tests/test_basic_api.py
parent9bfaf9454e6301a6b5da0c30f4ca029c1f227a97 (diff)
downloadpygments-900ce2be770ce98e7a93d5e687ae6a0184b2015c.tar.gz
Fix minor problems noted by regexlint and 'make check'
Diffstat (limited to 'tests/test_basic_api.py')
-rw-r--r--tests/test_basic_api.py4
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)