Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_marshal(self):
differ = JsonDiffer()
d = {
delete: 3,
'$delete': 4,
insert: 4,
'$$something': 1
}
dm = differ.marshal(d)
self.assertEqual(d, differ.unmarshal(dm))