summaryrefslogtreecommitdiffstats
path: root/test/QT
diff options
context:
space:
mode:
Diffstat (limited to 'test/QT')
-rw-r--r--test/QT/QTFLAGS.py2
-rw-r--r--test/QT/copied-env.py1
-rw-r--r--test/QT/warnings.py1
3 files changed, 3 insertions, 1 deletions
diff --git a/test/QT/QTFLAGS.py b/test/QT/QTFLAGS.py
index b7172fc..008397a 100644
--- a/test/QT/QTFLAGS.py
+++ b/test/QT/QTFLAGS.py
@@ -147,7 +147,7 @@ test.must_exist(['work1', 'mmmmocFromH.cxx'],
['work1', 'mmmanother_ui_file.cxx'])
def _flagTest(test,fileToContentsStart):
- for f,c in list(fileToContentsStart.items()):
+ for f,c in fileToContentsStart.items():
if test.read(test.workpath('work1', f)).find(c) != 0:
return 1
return 0
diff --git a/test/QT/copied-env.py b/test/QT/copied-env.py
index 59a344d..3989143 100644
--- a/test/QT/copied-env.py
+++ b/test/QT/copied-env.py
@@ -20,6 +20,7 @@
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# 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__"
diff --git a/test/QT/warnings.py b/test/QT/warnings.py
index 5e680f6..a1cf221 100644
--- a/test/QT/warnings.py
+++ b/test/QT/warnings.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__"