summaryrefslogtreecommitdiff
path: root/tests/test_examplefiles.py
diff options
context:
space:
mode:
authorAnteru <bitbucket@ca.sh13.net>2018-11-24 16:37:35 +0000
committerAnteru <bitbucket@ca.sh13.net>2018-11-24 16:37:35 +0000
commitc85d52dfad2b5b1f9783e88ac52d893e30f034d2 (patch)
treeeb3ef2aa70d2fbb7a1a307042038405929aa9650 /tests/test_examplefiles.py
parentee4cc2ef1bc96d44e93c1ad881e7b533bc83b8ae (diff)
parentd13cb73dc075a689f17e453a392429eb880b2eca (diff)
downloadpygments-git-c85d52dfad2b5b1f9783e88ac52d893e30f034d2.tar.gz
Merged in Reedbeta/pygments-main/hlsl-lexer (pull request #675)
Add HLSL lexer Approved-by: Anteru <bitbucket@ca.sh13.net>
Diffstat (limited to 'tests/test_examplefiles.py')
-rw-r--r--tests/test_examplefiles.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_examplefiles.py b/tests/test_examplefiles.py
index f43abf9b..2fae1125 100644
--- a/tests/test_examplefiles.py
+++ b/tests/test_examplefiles.py
@@ -3,7 +3,7 @@
Pygments tests with example files
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS.
+ :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
@@ -89,7 +89,7 @@ def test_example_files():
def check_lexer(lx, fn):
if os.name == 'java' and fn in BAD_FILES_FOR_JYTHON:
- raise support.SkipTest
+ raise support.SkipTest('%s is a known bad file on Jython' % fn)
absfn = os.path.join(TESTDIR, 'examplefiles', fn)
with open(absfn, 'rb') as fp:
text = fp.read()