summaryrefslogtreecommitdiff
path: root/tests/regressiontests/cache
diff options
context:
space:
mode:
authorGary Wilson Jr <gary.wilson@gmail.com>2007-07-16 05:00:18 +0000
committerGary Wilson Jr <gary.wilson@gmail.com>2007-07-16 05:00:18 +0000
commitf6ced03321f7b6c72bbca6d317639ef954bf8283 (patch)
treeada2d9a75911f7cb612ed526668819e38c4e2aaf /tests/regressiontests/cache
parent29891add3d23892f7dd1221d47f15d7455b5926b (diff)
Refs #3012 -- Removed iterator from `test_data_types` cache test that I added in [5703]. Iterators cannot be pickled either. Left the rest of [5703] there though since it fixed another issue that was causing the `test_data_types` cache test to fail with the `locmem` cache backend, the fact that functions cannot be copied.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5716 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/cache')
-rw-r--r--tests/regressiontests/cache/tests.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/regressiontests/cache/tests.py b/tests/regressiontests/cache/tests.py
index 0a5185e86e..bd759965d7 100644
--- a/tests/regressiontests/cache/tests.py
+++ b/tests/regressiontests/cache/tests.py
@@ -60,7 +60,6 @@ class Cache(unittest.TestCase):
'dict' : {'A': 1, 'B' : 2},
'function' : f,
'class' : C,
- 'iter' : iter([1, 2 ,3]),
}
for (key, value) in stuff.items():
cache.set(key, value)