diff --git a/tests/func/experiments/test_remove.py b/tests/func/experiments/test_remove.py index a842554f10..c185e93bb5 100644 --- a/tests/func/experiments/test_remove.py +++ b/tests/func/experiments/test_remove.py @@ -252,6 +252,6 @@ def test_keep_selected_by_rev( for exp in expected_removed: assert scm.get_ref(str(refs[exp])) is None - for exp in refs.keys(): + for exp in refs: if exp not in expected_removed: assert scm.get_ref(str(refs[exp])) is not None