Author: gwilson
Date: 2007-07-16 00:00:18 -0500 (Mon, 16 Jul 2007)
New Revision: 5716
Modified:
django/trunk/tests/regressiontests/cache/tests.py
Log:
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.
Modified: django/trunk/tests/regressiontests/cache/tests.py
===================================================================
--- django/trunk/tests/regressiontests/cache/tests.py 2007-07-16 04:54:49 UTC
(rev 5715)
+++ django/trunk/tests/regressiontests/cache/tests.py 2007-07-16 05:00:18 UTC
(rev 5716)
@@ -60,7 +60,6 @@
'dict' : {'A': 1, 'B' : 2},
'function' : f,
'class' : C,
- 'iter' : iter([1, 2 ,3]),
}
for (key, value) in stuff.items():
cache.set(key, value)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---