[Zodb-checkins] SVN: ZODB/branches/tseaver-python_picklecache/src/persistent/tests/utils.py Fix test breakage when cPickleCache is missing.
Tres Seaver
tseaver at palladion.com
Tue Mar 31 16:38:15 EDT 2009
Log message for revision 98730:
Fix test breakage when cPickleCache is missing.
Changed:
U ZODB/branches/tseaver-python_picklecache/src/persistent/tests/utils.py
-=-
Modified: ZODB/branches/tseaver-python_picklecache/src/persistent/tests/utils.py
===================================================================
--- ZODB/branches/tseaver-python_picklecache/src/persistent/tests/utils.py 2009-03-31 20:31:56 UTC (rev 98729)
+++ ZODB/branches/tseaver-python_picklecache/src/persistent/tests/utils.py 2009-03-31 20:38:15 UTC (rev 98730)
@@ -3,7 +3,7 @@
"""Testing stub for _p_jar attribute.
"""
def __init__(self):
- from persistent.cPickleCache import PickleCache # XXX stub it!
+ from persistent import PickleCache # XXX stub it!
self.cache = PickleCache(self)
self.oid = 1
self.registered = {}
@@ -38,7 +38,7 @@
"""Testing stub for _p_jar attribute.
"""
def __init__(self):
- from persistent.cPickleCache import PickleCache # XXX stub it!
+ from persistent import PickleCache # XXX stub it!
self.cache = PickleCache(self)
self.oid = 1
self.registered = {}
More information about the Zodb-checkins
mailing list