It's not meant for use outside the module, so mark it as such with a leading _
Signed-off-by: Dylan Baker <[email protected]> --- tests/xts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/xts.py b/tests/xts.py index e1bdd2f..2672917 100644 --- a/tests/xts.py +++ b/tests/xts.py @@ -163,7 +163,7 @@ class XTSTest(Test): # pylint: disable=too-few-public-methods self.result['images'] = self._process_log_for_images(log) -def populate_profile(): +def _populate_profile(): """ Populate the profile attribute """ # Add all tests to the profile profile = XTSProfile() # pylint: disable=redefined-outer-name @@ -202,4 +202,4 @@ if not os.path.exists(X_TEST_SUITE): print("xtest symlink not found!") sys.exit(0) -profile = populate_profile() # pylint: disable=invalid-name +profile = _populate_profile() # pylint: disable=invalid-name -- 2.2.2 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
