diff --git a/ores/scoring_contexts/tests/test_scoring_context.py b/ores/scoring_contexts/tests/test_scoring_context.py
index <HASH>..<HASH> 100644
--- a/ores/scoring_contexts/tests/test_scoring_context.py
+++ b/ores/scoring_contexts/tests/test_scoring_context.py
@@ -23,8 +23,8 @@ def test_scoring_context():
 
     FakeExtractor = namedtuple("Extractor", ['extract', 'solve', 'language'])
 
-    def fake_extract(rev_ids, dependents, caches=None):
-        caches = caches or defaultdict(dict)
+    def fake_extract(rev_ids, dependents, cache=None):
+        caches = cache or defaultdict(dict)
         for rev_id in rev_ids:
             cache = caches[rev_id]
             if rev_id % 5 != 0:
Fixes a scoring context test that was failing.