'return the absolute path of the task with its line number'

def get_path(self):

    path = ''
    if (hasattr(self, '_ds') and hasattr(self._ds, '_data_source') and hasattr(self._ds, '_line_number')):
        path = ('%s:%s' % (self._ds._data_source, self._ds._line_number))
    return path
