summaryrefslogtreecommitdiff
path: root/tests/test_latex_formatter.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2017-01-22 18:32:03 +0000
committerGeorg Brandl <georg@python.org>2017-01-22 18:32:03 +0000
commitab9b98535fa00980f9d3e86ffd7df6765b03f890 (patch)
tree0e7fd93778f83a8d8bac405c78b2c81da8b30bba /tests/test_latex_formatter.py
parent0fa23bf835caf6dc01ddb7fde63e01113a7b10af (diff)
parent2871ca982a7e413f7de2acb15216b53c144bdc40 (diff)
downloadpygments-ab9b98535fa00980f9d3e86ffd7df6765b03f890.tar.gz
Merged in zhouzhen1/pygments-main/perllexer (pull request #688)
Fix Perl5 lexer for namespaces/modules.
Diffstat (limited to 'tests/test_latex_formatter.py')
-rw-r--r--tests/test_latex_formatter.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_latex_formatter.py b/tests/test_latex_formatter.py
index 05a6c3ac..ebed7964 100644
--- a/tests/test_latex_formatter.py
+++ b/tests/test_latex_formatter.py
@@ -3,7 +3,7 @@
Pygments LaTeX formatter tests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- :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.
"""
@@ -42,9 +42,9 @@ class LatexFormatterTest(unittest.TestCase):
ret = po.wait()
output = po.stdout.read()
po.stdout.close()
- except OSError:
+ except OSError as e:
# latex not available
- raise support.SkipTest
+ raise support.SkipTest(e)
else:
if ret:
print(output)