

def _paths_key_exists(self, obj, old_key):
    try:
        obj.paths[old_key]
    except KeyError:
        self.fail('Old key does not exist anymore: {0}'.format(old_key))

dataset/ETHPy150Open koenbok/Cactus/cactus/tests/test_compat.py TestCompatibility._paths_key_exists/original