summaryrefslogtreecommitdiff
path: root/tests/test_gobject.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_gobject.py')
-rw-r--r--tests/test_gobject.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_gobject.py b/tests/test_gobject.py
index bba12cb7..1e557de7 100644
--- a/tests/test_gobject.py
+++ b/tests/test_gobject.py
@@ -804,8 +804,8 @@ class TestGValue(unittest.TestCase):
def test_list_properties():
- def find_param(l, name):
- for param in l:
+ def find_param(props, name):
+ for param in props:
if param.name == name:
return param
return
@@ -822,8 +822,8 @@ def test_list_properties():
props = list_props(Gio.SimpleAction)
assert find_param(props, "enabled")
- def names(l):
- return [p.name for p in l]
+ def names(props):
+ return [p.name for p in props]
assert (set(names(list_props(Gio.Action))) <=
set(names(list_props(Gio.SimpleAction))))