def test_deserialization(self):
     json = demjson.encode(self.my_dict)
     self.assertEquals(JSONSerializer.deserialize(json),
                       self.my_dict)
 def test_deserialization(self):
     json = simplejson.dumps(self.my_dict)
     self.assertEquals(JSONSerializer.deserialize(json),
                       self.my_dict)