[Piglit] [PATCH v2] igt.py: Fix PEP 8 issues.
Vinson Lee
vlee at freedesktop.org
Mon Mar 9 14:15:16 PDT 2015
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
tests/igt.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/tests/igt.py b/tests/igt.py
index dd7a38a..2047781 100644
--- a/tests/igt.py
+++ b/tests/igt.py
@@ -79,8 +79,8 @@ else:
assert os.path.exists(IGT_TEST_ROOT)
# check for the test lists
-if not (os.path.exists(os.path.join(IGT_TEST_ROOT, 'single-tests.txt'))
- and os.path.exists(os.path.join(IGT_TEST_ROOT, 'multi-tests.txt'))):
+if not (os.path.exists(os.path.join(IGT_TEST_ROOT, 'single-tests.txt')) and
+ os.path.exists(os.path.join(IGT_TEST_ROOT, 'multi-tests.txt'))):
print("intel-gpu-tools test lists not found.")
sys.exit(0)
@@ -115,7 +115,6 @@ class IGTTest(Test):
self.result['result'] = 'fail'
-
def list_tests(listname):
"""Parse igt test list and return them as a list."""
with open(os.path.join(IGT_TEST_ROOT, listname + '.txt'), 'r') as f:
--
2.1.0
More information about the Piglit
mailing list