summaryrefslogtreecommitdiff
path: root/tests/location.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/location.py')
-rw-r--r--tests/location.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/location.py b/tests/location.py
index cdac8e7..b24d70b 100644
--- a/tests/location.py
+++ b/tests/location.py
@@ -5,7 +5,7 @@ def test_path(tester: unittest.TestCase, loc_path: str) -> None:
conf_path = loc_path.replace('.locations.pom', '.pom')
locs = pom_parser.load_path(loc_path)
conf = pom_parser.load_path(conf_path)
- for item in conf.items():
+ for item in conf:
expected = locs.get_uint(item.key)
tester.assertTrue(expected is not None)
tester.assertEqual(expected, item.line, f'Incorrect line number for {item.key}')