summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2006-10-31 23:52:18 +0100
committergbrandl <devnull@localhost>2006-10-31 23:52:18 +0100
commit5010ac84688e1308889f17590e74cda43a1fe66c (patch)
tree1c0cd1ea7694b125e894ae71bc56da73d545cc33 /tests
parent9760369a39cb1a04a03b71b1b75266100218c017 (diff)
downloadpygments-5010ac84688e1308889f17590e74cda43a1fe66c.tar.gz
[svn] make check.
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