Lines Matching refs:dumps
1460 s = self.dumps(x, proto)
1465 s = self.dumps(x, proto)
1470 s = self.dumps(x, proto)
1479 s = self.dumps(expected, proto)
1494 s = self.dumps(self._testdata, proto)
1505 s = self.dumps(l, proto)
1526 s = self.dumps(t, proto)
1538 s = self.dumps(t, proto)
1561 s = self.dumps(d, proto)
1582 s = self.dumps(t, proto)
1594 s = self.dumps(t, proto)
1618 s = self.dumps(d, proto)
1641 s = self.dumps(t, proto)
1655 s = self.dumps(t, proto)
1677 s = self.dumps(y, proto)
1687 s = self.dumps(y, proto)
1699 s = self.dumps(i, proto)
1712 s = self.dumps(l, proto)
1727 s = self.dumps(o, proto)
1738 s = self.dumps(o, proto)
1780 s = self.dumps(y, proto)
1790 s = self.dumps(t, proto)
1800 s = self.dumps(t, proto)
1814 p = self.dumps(u, proto)
1821 p = self.dumps(t, proto)
1828 p = self.dumps(s, proto)
1831 p = self.dumps(s, proto)
1834 p = self.dumps(s, proto)
1841 p = self.dumps(b, proto)
1860 p = self.dumps((b, b), proto)
1869 s = self.dumps(expected, proto)
1881 pickle = self.dumps(n, proto)
1889 p = self.dumps(n, 2)
1903 pickle = self.dumps(value, proto)
1910 self.assertEqual(self.dumps(1.2, 0)[0:3], b'F1.')
1915 dumped = self.dumps(inst, proto)
1922 dumped = self.dumps(inst, proto)
1929 s = self.dumps(a, proto)
1937 s = self.dumps(a, proto)
1948 s = self.dumps(t, proto)
1952 s = self.dumps(t, proto)
1957 s = self.dumps(t, proto)
1963 s = self.dumps(..., proto)
1969 s = self.dumps(NotImplemented, proto)
1978 s = self.dumps(type(singleton), proto)
1986 pickled = self.dumps(None, proto)
2006 s = self.dumps(x, proto)
2014 s = self.dumps(x, proto)
2052 s = self.dumps(x, proto)
2077 s = self.dumps(x, proto)
2088 s = self.dumps(x, proto)
2097 s = self.dumps(x, proto)
2107 s = self.dumps(x, proto)
2126 s = self.dumps(p, proto)
2138 s = self.dumps(x, proto)
2149 b = self.dumps(o, 4)
2169 s1 = self.dumps(x, 1)
2178 s2 = self.dumps(x, 2)
2206 s = self.dumps(x, proto)
2215 s = self.dumps(x, proto)
2228 s = self.dumps(x, proto)
2238 s = self.dumps(x, proto)
2251 s = self.dumps(x, proto)
2263 s = self.dumps(x, proto)
2277 s = self.dumps(x, proto)
2293 s = self.dumps(x, proto)
2313 s = self.dumps(x, proto)
2332 s = self.dumps(x, 2)
2340 s = self.dumps(x, proto)
2349 s = self.dumps(x, proto)
2358 s = self.dumps(x, proto)
2367 s = self.dumps(x, proto)
2376 s = self.dumps(x, proto)
2387 self.assertRaises(RuntimeError, self.dumps, x, proto)
2404 self.dumps(C(), proto)
2408 self.dumps(D(), proto)
2421 dumped = self.dumps(obj, proto)
2432 s = self.dumps(x, proto)
2444 dumped = self.dumps(range(5), 2)
2446 dumped = self.dumps(set([3]), 2)
2454 dumped = self.dumps(data, proto)
2463 pickles = [self.dumps(2**n, proto) for n in range(70)]
2472 pickled = self.dumps(obj, proto)
2551 pickled = self.dumps(obj, proto)
2572 pickled = self.dumps(obj, proto)
2625 pickled = self.dumps(obj, proto)
2712 unpickled = self.loads(self.dumps(obj, proto))
2723 unpickled = self.loads(self.dumps(Recursive, proto))
2768 unpickled = self.loads(self.dumps(method, proto))
2773 unpickled = self.loads(self.dumps(method, proto))
2808 unpickled = self.loads(self.dumps(method, proto))
2825 pickled = self.dumps(val, proto)
2837 pickletools.dis(self.dumps(f, proto))
2843 pickletools.dis(self.dumps(f, proto))
2848 pickletools.dis(self.dumps(f, proto))
2878 data = self.dumps(obj, proto)
2892 data2 = self.dumps(obj, proto,
2911 self.dumps(obj, proto,
2916 data = self.dumps(obj, proto,
2953 data = self.dumps(obj, proto, buffer_callback=buffer_callback)
2965 self.dumps(pb, proto)
2972 self.dumps(pb, 5, buffer_callback=buffer_callback)
2977 data = self.dumps(pb, proto, buffer_callback=[].append)
2987 data_pickled = self.dumps(1, proto, buffer_callback=None)
3003 data = self.dumps(arr, proto)
3008 data = self.dumps(arr, proto, buffer_callback=buffer_callback)
3015 data = self.dumps(arr, proto, buffer_callback=buffer_callback)
3049 self.dumps(data, protocol=proto)
3066 pickled = self.dumps(data, protocol=proto)
3090 self.dumps(data, protocol=proto)
3093 pickled = self.dumps(data, protocol=proto)
3117 pickled = self.dumps(data, protocol=proto)
3145 self.dumps(data, protocol=proto)
3148 pickled = self.dumps(data, protocol=proto)
3344 self.dumps(123, -1)
3345 self.dumps(123, protocol=-1)
3374 def check_dumps_loads_oob_buffers(self, dumps, loads): argument
3383 dumps(obj, protocol=proto,
3388 data = dumps(obj, protocol=proto,
3400 self.check_dumps_loads_oob_buffers(self.dumps, self.loads)
3404 def dumps(obj, **kwargs): function
3413 self.check_dumps_loads_oob_buffers(dumps, loads)
3449 self.assertEqual(self.loads(self.dumps(L, proto)), L)
3465 unpickled = self.loads(self.dumps(obj, proto))
3480 self.assertRaises(pickle.PicklingError, self.dumps, non_ascii_str, 0)
3782 def dumps(obj, protocol=None): function
3789 self._test_dispatch_table(dumps, dt)
3795 def dumps(obj, protocol=None): function
3803 self._test_dispatch_table(dumps, dt)
3805 def _test_dispatch_table(self, dumps, dispatch_table): argument
3807 return pickle.loads(dumps(obj, 0))
3810 return pickle.loads(pickle.dumps(obj, 0))
3877 p = pickle.dumps(x, i)