MCPcopy Index your code
hub / github.com/python/cpython / test_bytes

Method test_bytes

Lib/test/test_plistlib.py:504–510  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

502 self.assertEqual(data, data2)
503
504 def test_bytes(self):
505 pl = self._create()
506 data = plistlib.dumps(pl)
507 pl2 = plistlib.loads(data)
508 self.assertEqual(dict(pl), dict(pl2))
509 data2 = plistlib.dumps(pl2)
510 self.assertEqual(data, data2)
511
512 def test_bytes_indent(self):
513 header = (

Callers

nothing calls this directly

Calls 4

_createMethod · 0.95
dumpsMethod · 0.45
loadsMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected