Skip to content

Commit 666a98c

Browse files
committed
[py3-compat] Used __future__ version of print()
1 parent 77ccb00 commit 666a98c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

runtests.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
99
Trac's testing framework isn't well suited for plugins, so we NIH'd a bit.
1010
"""
11+
from __future__ import print_function
1112

1213
import argparse
1314
import BaseHTTPServer
@@ -2175,8 +2176,8 @@ def get_parser():
21752176
COVERAGE_BIN = os.path.join(options.virtualenv, 'bin', COVERAGE_BIN)
21762177

21772178
TESTDIR = tempfile.mkdtemp(prefix='trac-github-test-')
2178-
print "Starting tests using temporary directory %r" % TESTDIR
2179-
print "Using git version %s" % git_check_output('--version').strip()
2179+
print("Starting tests using temporary directory %r" % TESTDIR)
2180+
print("Using git version %s" % git_check_output('--version').strip())
21802181

21812182
try:
21822183
test_program = unittest.main(argv=[sys.argv[0]] + unittest_argv, exit=False)

0 commit comments

Comments
 (0)