

def _handleTime(self, offset, line):
    try:
        event_time = iso8601.parse_date(line[offset:(- 1)])
    except TypeError:
        raise TypeError((_u('Failed to parse %r, got %r') % (line, sys.exec_info[1])))
    self.client.time(event_time)

dataset/ETHPy150Open byt3bl33d3r/pth-toolkit/lib/python2.7/site-packages/samba/external/subunit/__init__.py TestProtocolServer._handleTime/original