From 2b82a3bcfc757c2bdafca6c5d9930201deed00cf Mon Sep 17 00:00:00 2001 From: Gary Wilson Jr Date: Sat, 16 Aug 2008 02:17:55 +0000 Subject: Fixed #7331 -- Made `QueryDict.iteritems` behave like `QueryDict.items`, thanks jurev. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8399 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/datastructures/tests.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/regressiontests/datastructures/tests.py b/tests/regressiontests/datastructures/tests.py index 62c57bc019..f5d5b91d3d 100644 --- a/tests/regressiontests/datastructures/tests.py +++ b/tests/regressiontests/datastructures/tests.py @@ -42,6 +42,8 @@ MergeDict can merge MultiValueDicts 'Simon' >>> d.getlist('name') ['Adrian', 'Simon'] +>>> list(d.iteritems()) +[('position', 'Developer'), ('name', 'Simon')] >>> d['lastname'] Traceback (most recent call last): ... -- cgit v1.3