16 Feb
2013
16 Feb
'13
11:45 p.m.
Hello,
On Sun, 17 Feb 2013 00:42:26 +0100 (CET)
eric.snow
+ def test_pickle(self): + ns = types.SimpleNamespace(breakfast="spam", lunch="spam") + + ns_pickled = pickle.dumps(ns) + ns_roundtrip = pickle.loads(ns_pickled) + + self.assertEqual(ns, ns_roundtrip) +
I think you should test with all pickle protocols. Regards Antoine.