diff --git a/lacecore/test_group_map.py b/lacecore/test_group_map.py index 53bf1b0..c2dad57 100644 --- a/lacecore/test_group_map.py +++ b/lacecore/test_group_map.py @@ -34,7 +34,8 @@ def test_group_map_get_item(): with pytest.raises(ValueError, match="assignment destination is read-only"): groups["empty"][3] = True with pytest.raises(KeyError, match="Unknown group: nope"): - groups["nope"] + # Assign for CodeQL. + _ = groups["nope"] def test_group_map_iteration():