summaryrefslogtreecommitdiff
path: root/django/test/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/test/utils.py')
-rw-r--r--django/test/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/test/utils.py b/django/test/utils.py
index 1129976e4e..b6ab39901b 100644
--- a/django/test/utils.py
+++ b/django/test/utils.py
@@ -15,7 +15,7 @@ class ContextList(list):
for subcontext in self:
if key in subcontext:
return subcontext[key]
- raise KeyError
+ raise KeyError(key)
else:
return super(ContextList, self).__getitem__(key)