def pos(self):
        if not self._tasks:
            return 0
        task = self._tasks[-1]
        if len(self._tasks) > 1:
            # scale up the overall pos by the current task or preserve it if
            # no current width is known.
            offset = task[2] * (task[1] or 1)
        else:
            offset = 0
        return offset + task[0]
Test importing internet
dataset/ETHPy150Open byt3bl33d3r/pth-toolkit/lib/python2.7/site-packages/samba/external/subunit/progress_model.py/ProgressModel.pos--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_import.py/AtLeastImportTestCase.test_internet