diff options
author | gbrandl <devnull@localhost> | 2006-10-31 23:52:18 +0100 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2006-10-31 23:52:18 +0100 |
commit | 5010ac84688e1308889f17590e74cda43a1fe66c (patch) | |
tree | 1c0cd1ea7694b125e894ae71bc56da73d545cc33 /tests/test_cmdline.py | |
parent | 9760369a39cb1a04a03b71b1b75266100218c017 (diff) | |
download | pygments-5010ac84688e1308889f17590e74cda43a1fe66c.tar.gz |
[svn] make check.
Diffstat (limited to 'tests/test_cmdline.py')
-rw-r--r-- | tests/test_cmdline.py | 4 |
1 files changed, 2 insertions, 2 deletions
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()) |