Change in osmo-gsm-tester[master]: pyflakes: Rename local variable to not shadow import

Holger Freyther gerrit-no-reply at lists.osmocom.org
Fri Mar 1 15:10:51 UTC 2019


Holger Freyther has submitted this change and it was merged. ( https://gerrit.osmocom.org/13073 )

Change subject: pyflakes: Rename local variable to not shadow import
......................................................................

pyflakes: Rename local variable to not shadow import

Change-Id: Ib70130dbbeeeb9813eaea707bf66f1db91088b92
---
M src/osmo_gsm_tester/report.py
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Pau Espin Pedrol: Looks good to me, approved
  Holger Freyther: Verified



diff --git a/src/osmo_gsm_tester/report.py b/src/osmo_gsm_tester/report.py
index 224cc46..4919937 100644
--- a/src/osmo_gsm_tester/report.py
+++ b/src/osmo_gsm_tester/report.py
@@ -42,8 +42,8 @@
         testsuite.set('time', str(math.ceil(suite.duration)))
     testsuite.set('tests', str(len(suite.tests)))
     testsuite.set('failures', str(suite.count_test_results()[2]))
-    for test in suite.tests:
-        testcase = test_to_junit(test)
+    for suite_test in suite.tests:
+        testcase = test_to_junit(suite_test)
         testsuite.append(testcase)
     return testsuite
 

-- 
To view, visit https://gerrit.osmocom.org/13073
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib70130dbbeeeb9813eaea707bf66f1db91088b92
Gerrit-Change-Number: 13073
Gerrit-PatchSet: 2
Gerrit-Owner: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190301/493b75e4/attachment.html>


More information about the gerrit-log mailing list