Skip to content

Commit

Permalink
Refs #3012 -- Removed iterator from test_data_types cache test that…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
gdub committed Jul 16, 2007
1 parent 29891ad commit f6ced03
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/regressiontests/cache/tests.py
Expand Up @@ -60,7 +60,6 @@ def test_data_types(self):
'dict' : {'A': 1, 'B' : 2},
'function' : f,
'class' : C,
'iter' : iter([1, 2 ,3]),
}
for (key, value) in stuff.items():
cache.set(key, value)
Expand Down

0 comments on commit f6ced03

Please sign in to comment.