[asterisk-commits] runtests.py: Fix PEP 8 compliance issues (testsuite[master])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jul 27 19:55:40 CDT 2015


Matt Jordan has submitted this change and it was merged.

Change subject: runtests.py: Fix PEP 8 compliance issues
......................................................................


runtests.py: Fix PEP 8 compliance issues

This patch fixes a variety of minor PEP 8 compliance issues found by
pep8.

Change-Id: I7b4d08fb9cd0e89bc2d8f6af6e0835467528d9b2
---
M runtests.py
1 file changed, 4 insertions(+), 3 deletions(-)

Approvals:
  Matt Jordan: Looks good to me, approved; Verified
  Joshua Colp: Looks good to me, but someone else must approve



diff --git a/runtests.py b/runtests.py
index 0fe14f5..13bd8bc 100755
--- a/runtests.py
+++ b/runtests.py
@@ -293,11 +293,12 @@
                     hardlink_or_copy(refs_in,
                                      os.path.join(dest_dir, "refs"))
                     if self.passed:
-                        self.stdout_print("REF_DEBUG identified leaks, mark test as failure")
+                        self.stdout_print("REF_DEBUG identified leaks, "
+                                          "mark test as failure")
                         self.passed = False
                     else:
                         self.stdout_print("REF_DEBUG identified leaks, "
-                                          "test was already marked as failure");
+                                          "test was already marked as failure")
             i += 1
 
     def _archive_files(self, src_dir, dest_dir, *filenames):
@@ -420,7 +421,7 @@
             print "%.3d) %s" % (i, t.test_config.test_name)
             print "      --> Summary: %s" % t.test_config.summary
             if t.test_config.skip is not None:
-                print  "      --> Skip: %s" % t.test_config.skip
+                print "      --> Skip: %s" % t.test_config.skip
             print ("      --> Minimum Version: %s (%s)" %
                    (", ".join([str(v) for v in t.test_config.minversion]),
                     t.test_config.minversion_check))

-- 
To view, visit https://gerrit.asterisk.org/966
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7b4d08fb9cd0e89bc2d8f6af6e0835467528d9b2
Gerrit-PatchSet: 1
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Matt Jordan <mjordan at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Matt Jordan <mjordan at digium.com>



More information about the asterisk-commits mailing list