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

Method test_load_singletons

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

Source from the content-addressed store, hash-verified

1077 self.assertEqual(plistlib.loads(data), d)
1078
1079 def test_load_singletons(self):
1080 self.assertIs(self.decode(b'\x00'), None)
1081 self.assertIs(self.decode(b'\x08'), False)
1082 self.assertIs(self.decode(b'\x09'), True)
1083 self.assertEqual(self.decode(b'\x0f'), b'')
1084
1085 def test_load_int(self):
1086 self.assertEqual(self.decode(b'\x10\x00'), 0)

Callers

nothing calls this directly

Calls 3

decodeMethod · 0.95
assertIsMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected