def test_GdalOutputHandler2(): s = '0...10...20...30...40...50...60...70...80...90...100 - done.\n' h = exectools.BaseOutputHandler(exectools.OFStream()) h._progress_pattern = GdalOutputHandler()._progress_pattern for c in s: h.feed(c) h.close()
def test_GdalOutputHandler_re(): s = '0...10...20...30...40...50...60...70...80...90...100 - done.\n' h = exectools.BaseOutputHandler(exectools.OFStream()) h._progress_pattern = GdalOutputHandler()._progress_pattern h.feed(s) h.close() print('done.')
def __init__(self): exectools.BaseOutputHandler.__init__(self, exectools.OFStream())