def new_spawn(self, spawn_dict):
        spawn = Spawn(spawn_dict)
        if not spawn.dbid:
            spawn.save()
        self.spawns[spawn.id] = spawn
        return spawn
test to make sure string0 type numpy arrays are accepted
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/models/room.py/Room.new_spawn--crossover with--dataset/ETHPy150Open NeuralEnsemble/python-neo/neo/test/coretest/test_base.py/TestBaseNeoNumpyArrayTypes.test_numpy_array_string0