[Piglit] [Patch v3 5/8] igt.py: Use PEP8 specified whitespace

Dylan Baker baker.dylan.c at gmail.com
Wed Jan 28 11:35:05 PST 2015


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

diff --git a/tests/igt.py b/tests/igt.py
index 3e620a6..0792582 100644
--- a/tests/igt.py
+++ b/tests/igt.py
@@ -41,6 +41,7 @@ __all__ = ['profile']
 ##### automatically add all tests into the 'igt' category.
 #############################################################################
 
+
 def check_environment():
     debugfs_path = "/sys/kernel/debug/dri"
     if os.getuid() != 0:
@@ -61,6 +62,7 @@ def check_environment():
     print "Test Environment check: Succeeded."
     return True
 
+
 if 'IGT_TEST_ROOT' in os.environ:
     IGT_TEST_ROOT = os.environ['IGT_TEST_ROOT']
 else:
@@ -83,6 +85,7 @@ class IGTTestProfile(TestProfile):
 
 profile = TestProfile()  # pylint: disable=invalid-name
 
+
 class IGTTest(Test):
     def __init__(self, binary, arguments=None):
         if arguments is None:
@@ -102,6 +105,7 @@ class IGTTest(Test):
             self.result['result'] = 'fail'
 
 
+
 def list_tests(listname):
     with open(os.path.join(IGT_TEST_ROOT, listname + '.txt'), 'r') as f:
         lines = (line.rstrip() for line in f.readlines())
@@ -117,6 +121,7 @@ def list_tests(listname):
 
     return []
 
+
 def add_subtest_cases(test):
     proc = subprocess.Popen(
         [os.path.join(IGT_TEST_ROOT, test), '--list-subtests'],
-- 
2.2.2



More information about the Piglit mailing list