Commit 30ab45e9 authored by Tres Seaver's avatar Tres Seaver

Coverage.

parent 888c82d6
...@@ -22,7 +22,7 @@ try: ...@@ -22,7 +22,7 @@ try:
from cPersistence import CHANGED from cPersistence import CHANGED
from cPersistence import STICKY from cPersistence import STICKY
from cPersistence import simple_new from cPersistence import simple_new
except ImportError: # XXX need pure-Python fallback except ImportError: #pragma NO COVER
_HAVE_CPERSISTENCE = False _HAVE_CPERSISTENCE = False
from pyPersistence import Persistent from pyPersistence import Persistent
from pyPersistence import GHOST from pyPersistence import GHOST
...@@ -36,12 +36,12 @@ else: ...@@ -36,12 +36,12 @@ else:
try: try:
from cPickleCache import PickleCache from cPickleCache import PickleCache
except ImportError: except ImportError: #pragma NO COVER
from picklecache import PickleCache from picklecache import PickleCache
try: try:
import TimeStamp import TimeStamp
except ImportError: except ImportError: #pragma NO COVER
import timestamp as TimeStamp import timestamp as TimeStamp
import sys import sys
sys.modules['persistent.TimeStamp'] = sys.modules['persistent.timestamp'] sys.modules['persistent.TimeStamp'] = sys.modules['persistent.timestamp']
...@@ -51,7 +51,7 @@ if _HAVE_CPERSISTENCE: ...@@ -51,7 +51,7 @@ if _HAVE_CPERSISTENCE:
# is available. XXX that the pyPersistent version already does this? # is available. XXX that the pyPersistent version already does this?
try: try:
from zope.interface import classImplements from zope.interface import classImplements
except ImportError: except ImportError: #pragma NO COVER
pass pass
else: else:
from persistent.interfaces import IPersistent from persistent.interfaces import IPersistent
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment