From 3bf2b10ae0bef28677ea0ab3e2d1bbb3fe31735f Mon Sep 17 00:00:00 2001 From: pommicket Date: Tue, 23 Sep 2025 13:31:00 -0400 Subject: Clean up examples, fix a few bugs --- tests/location.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/location.py') 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}') -- cgit v1.2.3