• Home
  • Raw
  • Download

Lines Matching refs:dumps

461                 self.assertRaises(TypeError, plistlib.dumps, pl, fmt=fmt)
476 data = plistlib.dumps(pl, fmt=fmt)
480 data2 = plistlib.dumps(pl2, fmt=fmt)
486 self.assertRaises(OverflowError, plistlib.dumps,
493 data = plistlib.dumps(bytearray(pl), fmt=fmt)
497 data2 = plistlib.dumps(pl2, fmt=fmt)
502 data = plistlib.dumps(pl)
505 data2 = plistlib.dumps(pl2)
510 self.assertEqual(plistlib.loads(plistlib.dumps(data)), data)
514 self.assertEqual(plistlib.loads(plistlib.dumps(data)), data)
518 self.assertEqual(plistlib.loads(plistlib.dumps(data)), data)
522 self.assertEqual(plistlib.loads(plistlib.dumps(data, fmt=plistlib.FMT_BINARY)), data)
531 … self.assertEqual(plistlib.loads(plistlib.dumps(dict_data, fmt=plistlib.FMT_BINARY)), dict_data)
553 self.assertEqual(pickle.loads(pickle.dumps(UID(19), protocol=proto)), UID(19))
563 data = plistlib.dumps(pl, fmt=fmt)
621 data = plistlib.dumps(pl, fmt=fmt, sort_keys=sort_keys)
635 self.assertRaises(TypeError, plistlib.dumps, pl, fmt=fmt)
648 data = plistlib.dumps(
670 data = plistlib.dumps(pl, fmt=fmt)
689 data = plistlib.dumps(pl, fmt=fmt)
707 data = plistlib.dumps(pl, fmt=fmt)
722 data = plistlib.dumps(testString, fmt=plistlib.FMT_XML)
727 plistlib.dumps(testString, fmt=plistlib.FMT_XML)
728 plistlib.dumps(testString, fmt=plistlib.FMT_BINARY)
734 data = plistlib.dumps(pl, fmt=fmt)
741 plistlib.dumps('\ud8ff', fmt=fmt)
743 plistlib.dumps('\udcff', fmt=fmt)
750 result1 = plistlib.loads(plistlib.dumps(test1, fmt=fmt))
751 result2 = plistlib.loads(plistlib.dumps(test2, fmt=fmt))
815 plistlib.dumps({}, fmt="blah")
825 plistlib.dumps(neg_uid, fmt=plistlib.FMT_BINARY)
831 plistlib.dumps(huge_uid, fmt=plistlib.FMT_BINARY)
874 data = plistlib.dumps([x]*1000, fmt=plistlib.FMT_BINARY)
882 data = plistlib.dumps([x]*2, fmt=plistlib.FMT_BINARY)
894 b = plistlib.loads(plistlib.dumps(a, fmt=plistlib.FMT_BINARY))
899 b = plistlib.loads(plistlib.dumps(a, fmt=plistlib.FMT_BINARY))
904 b = plistlib.loads(plistlib.dumps(a, fmt=plistlib.FMT_BINARY))
927 data = plistlib.dumps(d, fmt=plistlib.FMT_BINARY)