[Piglit] [PATCH 01/10] xts.py: Use __future__ functions

Dylan Baker baker.dylan.c at gmail.com
Thu Jan 29 15:31:16 PST 2015


Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 tests/xts.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/xts.py b/tests/xts.py
index 27865a9..4b5ce64 100644
--- a/tests/xts.py
+++ b/tests/xts.py
@@ -23,6 +23,7 @@
 
 """ Test integreation for the X Test Suite """
 
+from __future__ import print_function, division, absolute_import
 import os
 import re
 import sys
@@ -198,7 +199,7 @@ def populate_profile():
 
 # If the symlink for the XTS has not been created exit
 if not os.path.exists(X_TEST_SUITE):
-    print "xtest symlink not found!"
+    print("xtest symlink not found!")
     sys.exit(0)
 
 profile = populate_profile()
-- 
2.2.2



More information about the Piglit mailing list