diff --git a/test/rsrc/convert_stub.py b/test/rsrc/convert_stub.py index aa0d2ea72..747493134 100755 --- a/test/rsrc/convert_stub.py +++ b/test/rsrc/convert_stub.py @@ -4,6 +4,7 @@ a specified text tag. """ +from __future__ import division, absolute_import, print_function import sys diff --git a/test/test_convert.py b/test/test_convert.py index ac3a50c77..9e3c106bd 100644 --- a/test/test_convert.py +++ b/test/test_convert.py @@ -39,7 +39,7 @@ class TestHelper(helper.TestHelper): # A Python script that copies the file and appends a tag. stub = os.path.join(_common.RSRC, 'convert_stub.py') - return u'python {} $source $dest {}'.format(stub, tag) + return u"python '{}' $source $dest {}".format(stub, tag) def assertFileTag(self, path, tag): # noqa """Assert that the path is a file and the files content ends with `tag`.