def verify_mapreduce_spec(self, mapreduce_spec, **kwargs):
    self.assertTrue(mapreduce_spec)
    self.assertEquals(kwargs.get("mapper_handler_spec", MAPPER_HANDLER_SPEC),
                      mapreduce_spec.mapper.handler_spec)
    self.assertEquals(kwargs.get("output_writer_spec", None),
                      mapreduce_spec.mapper.output_writer_spec)
    self.assertEquals(
        ENTITY_KIND,
        mapreduce_spec.mapper.params["input_reader"]["entity_kind"])
    self.assertEquals(kwargs.get("shard_count", 8),
                      mapreduce_spec.mapper.shard_count)
    self.assertEquals(kwargs.get("hooks_class_name"),
                      mapreduce_spec.hooks_class_name)
Free the underlying C array
dataset/ETHPy150Open GoogleCloudPlatform/appengine-mapreduce/python/test/mapreduce/handlers_test.py/MapreduceHandlerTestBase.verify_mapreduce_spec--crossover with--dataset/ETHPy150Open chriso/gauged/gauged/structures/float_array.py/FloatArray.free