summaryrefslogtreecommitdiff
path: root/test/attributes.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/attributes.py')
-rw-r--r--test/attributes.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/attributes.py b/test/attributes.py
index bff864fa6..126f50456 100644
--- a/test/attributes.py
+++ b/test/attributes.py
@@ -45,7 +45,8 @@ class AttributesTest(PersistTest):
manager.register_attribute(MyTest, 'email_address', uselist = False)
x = MyTest()
x.user_id=7
- pickle.dumps(x)
+ s = pickle.dumps(x)
+ y = pickle.loads(s)
def testlist(self):
class User(object):pass