Use a slightly more descriptive name, as also pointed out by
pycodestyle.
No functional changes.
---
python/t/test090RetValues.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/python/t/test090RetValues.py b/python/t/test090RetValues.py
index 17b57c954..4a6508462 100644
--- a/python/t/test090RetValues.py
+++ b/python/t/test090RetValues.py
@@ -91,12 +91,12 @@ class Test090PythonRetValues(unittest.TestCase):
g = guestfs.GuestFS()
self.assertEqual(g.internal_test_rstructlist("0"), [])
- l = g.internal_test_rstructlist("5")
- self.assertIsInstance(l, list)
- self.assertEqual(len(l), 5)
+ retlist = g.internal_test_rstructlist("5")
+ self.assertIsInstance(retlist, list)
+ self.assertEqual(len(retlist), 5)
for i in range(0, 5):
- self.assertIsInstance(l[i], dict)
- self.assertEqual(l[i]["pv_name"], "pv%d" % i)
+ self.assertIsInstance(retlist[i], dict)
+ self.assertEqual(retlist[i]["pv_name"], "pv%d" % i)
self.assertRaises(RuntimeError, g.internal_test_rstructlisterr)
--
2.24.1