diff --git a/tests/func/experiments/test_remove.py b/tests/func/experiments/test_remove.py index c185e93bb5..683980a2d0 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: + for exp, ref in refs.items(): if exp not in expected_removed: - assert scm.get_ref(str(refs[exp])) is not None + assert scm.get_ref(str(ref)) is not None