summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2015-01-30 13:30:59 -0800
committerDylan Baker <baker.dylan.c@gmail.com>2015-03-05 09:46:48 -0800
commit491bded384452e0b7fe7b38fe9cec9b05a5fc81a (patch)
tree5ee1bf7958567b852f92e54a696f5b31a0d74b4c /tests
parent3c642f7812c15cac35fd80c2d3f32800f42e101a (diff)
all.py: use __future__ functions
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/all.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/all.py b/tests/all.py
index c67c5708f..b0348fcd9 100644
--- a/tests/all.py
+++ b/tests/all.py
@@ -1,8 +1,7 @@
# -*- coding: utf-8 -*-
# All tests that come with piglit, using default settings
-__all__ = ['profile']
-
+from __future__ import print_function, division, absolute_import
import itertools
import os
import platform
@@ -11,7 +10,9 @@ from framework import grouptools
from framework.profile import TestProfile
from framework.test import (PiglitGLTest, GleanTest, ShaderTest,
GLSLParserTest, GLSLParserNoConfigError)
-from py_modules.constants import TESTS_DIR, GENERATED_TESTS_DIR
+from .py_modules.constants import TESTS_DIR, GENERATED_TESTS_DIR
+
+__all__ = ['profile']
def add_single_param_test_set(adder, name, *params):