Commit 07cd63ab authored by Jeremy Hylton's avatar Jeremy Hylton

Basic persistent object used by test suite.

parent 58cfe930
"""A minimal persistent object to use for tests"""
from Persistence import Persistent
class MinPO(Persistent):
def __init__(self, value=None):
self.value = value
def __cmp__(self, aMinPO):
return cmp(self.value, aMinPO.value)
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