summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_basic_api.py4
-rw-r--r--tests/test_cmdline.py4
-rw-r--r--tests/test_examplefiles.py4
3 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_basic_api.py b/tests/test_basic_api.py
index 41aa01dc..0301f290 100644
--- a/tests/test_basic_api.py
+++ b/tests/test_basic_api.py
@@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-
"""
Pygments basic API tests
- ~~~~~~~~~~~~~~~~~~~~~~~
+ ~~~~~~~~~~~~~~~~~~~~~~~~
:copyright: 2006 by Georg Brandl.
- :license: GNU GPL, see LICENSE for more details.
+ :license: GNU LGPL, see LICENSE for more details.
"""
import unittest
diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py
index 803182f6..1126e695 100644
--- a/tests/test_cmdline.py
+++ b/tests/test_cmdline.py
@@ -17,7 +17,7 @@ from pygments import cmdline_main, highlight
def run_cmdline(*args):
saved_stdout = sys.stdout
- saved_stderr = sys.stderr
+ saved_stderr = sys.stderr
new_stdout = sys.stdout = StringIO.StringIO()
new_stderr = sys.stderr = StringIO.StringIO()
try:
@@ -45,7 +45,7 @@ class CmdLineTest(unittest.TestCase):
from pygments.lexers import PythonLexer
from pygments.formatters import HtmlFormatter
filename = os.path.join(testdir, testfile)
- code = file(filename).read()
+ code = file(filename).read()
output = highlight(code, PythonLexer(), HtmlFormatter())
diff --git a/tests/test_examplefiles.py b/tests/test_examplefiles.py
index 247f986d..2c779618 100644
--- a/tests/test_examplefiles.py
+++ b/tests/test_examplefiles.py
@@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-
"""
Pygments tests with example files
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:copyright: 2006 by Georg Brandl.
- :license: GNU GPL, see LICENSE for more details.
+ :license: GNU LGPL, see LICENSE for more details.
"""
import unittest