summaryrefslogtreecommitdiff
path: root/test/option-v.py
diff options
context:
space:
mode:
authorStefan Zimmermann <zimmermann.code@gmail.com>2014-03-31 16:24:42 +0000
committerStefan Zimmermann <zimmermann.code@gmail.com>2014-03-31 16:24:42 +0000
commit22ef96486b611cdef71bb8d88b441ebb98dd7e21 (patch)
treeff268c97886e3cc905115185a35405b3fd83348a /test/option-v.py
parent39896dee457418dda22ccf5f0ac5016c8ba0545e (diff)
parent24c054e57396b0386bbe835021414ebc9869acbc (diff)
downloadscons-22ef96486b611cdef71bb8d88b441ebb98dd7e21.tar.gz
Merged with [default]
Diffstat (limited to 'test/option-v.py')
-rw-r--r--test/option-v.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/option-v.py b/test/option-v.py
index f3eb61ce..4a67df03 100644
--- a/test/option-v.py
+++ b/test/option-v.py
@@ -21,6 +21,7 @@
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
+from __future__ import print_function
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
@@ -53,13 +54,13 @@ expect2 = r"""SCons by Steven Knight et al.:
test.run(arguments = '-v')
stdout = test.stdout()
if not test.match_re(stdout, expect1) and not test.match_re(stdout, expect2):
- print stdout
+ print(stdout)
test.fail_test()
test.run(arguments = '--version')
stdout = test.stdout()
if not test.match_re(stdout, expect1) and not test.match_re(stdout, expect2):
- print stdout
+ print(stdout)
test.fail_test()
test.pass_test()