MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_bytes

Method test_bytes

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

Source from the content-addressed store, hash-verified

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

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