summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2019-02-27 04:35:17 +0000
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2019-02-27 08:09:21 +0000
commitf922a998cb3636b0b62b99fcef9212000103e19c (patch)
treeee4c88c4635d277a44609a86799e7e0adb8d445b
parent1ea4e52f9f2a6093b5850c38cf2f6e07e7b3a515 (diff)
pyflakes: Rename local variable to not shadow import
-rw-r--r--src/osmo_gsm_tester/report.py4
1 files changed, 2 insertions, 2 deletions
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 @@ def suite_to_junit(suite):
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