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

Dylan Baker baker.dylan.c at gmail.com
Mon Jan 26 11:28:12 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 fe2364c..b7ee165 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:
@@ -78,6 +80,7 @@ IGT_ENVIRONMENT_OK = check_environment()
 
 profile = TestProfile()  # pylint: disable=invalid-name
 
+
 class IGTTest(Test):
     def __init__(self, binary, arguments=None):
         if arguments is None:
@@ -107,6 +110,7 @@ class IGTTest(Test):
 
         super(IGTTest, self).run()
 
+
 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())
@@ -124,6 +128,7 @@ def list_tests(listname):
 
     return progs
 
+
 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