summaryrefslogtreecommitdiff
path: root/tests/test_basic_api.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-08 00:58:47 +0200
committerGeorg Brandl <georg@python.org>2014-10-08 00:58:47 +0200
commitd9dcb23898e9bb97f4494b24f8723e85e8045bc4 (patch)
treeb965b6493e10e06220edee2241c752c0fc306772 /tests/test_basic_api.py
parentbcb276ff95fe9082f4a73203e6221f5148334618 (diff)
downloadpygments-d9dcb23898e9bb97f4494b24f8723e85e8045bc4.tar.gz
Dont print out all tokens to stdout.
Diffstat (limited to 'tests/test_basic_api.py')
-rw-r--r--tests/test_basic_api.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test_basic_api.py b/tests/test_basic_api.py
index 32d675b6..7485df1a 100644
--- a/tests/test_basic_api.py
+++ b/tests/test_basic_api.py
@@ -75,8 +75,6 @@ def test_lexer_classes():
for token in tokens:
assert isinstance(token, tuple)
assert isinstance(token[0], _TokenType)
- if isinstance(token[1], str):
- print(repr(token[1]))
assert isinstance(token[1], text_type)
txt += token[1]
assert txt == test_content, "%s lexer roundtrip failed: %r != %r" % \