Exemplo n.º 1
0
 def test_issue3179(self):
     # Safe test, because I broke this case when fixing the
     # behaviour for the previous test.
     from zodbpickle import _pickle
     res = []
     for x in range(1, 2000):
         res.append(dict(doc=x, similar=[]))
     _pickle.dumps(res)
Exemplo n.º 2
0
 def test_issue3179(self):
     # Safe test, because I broke this case when fixing the
     # behaviour for the previous test.
     from zodbpickle import _pickle
     res=[]
     for x in range(1,2000):
         res.append(dict(doc=x, similar=[]))
     _pickle.dumps(res)
Exemplo n.º 3
0
 def dumps(self, arg, proto=0, fast=0):
     from zodbpickle import _pickle
     # Ignore fast
     return _pickle.dumps(arg, proto)
Exemplo n.º 4
0
 def dumps(self, arg, proto=0, fast=0):
     from zodbpickle import _pickle
     # Ignore fast
     return _pickle.dumps(arg, proto)