def seek(self, pos, mode = 0):
        _complain_ifclosed(self.closed)
        if self.buflist:
            self.buf += ''.join(self.buflist)
            self.buflist = []
        if mode == 1:
            pos += self.pos
        elif mode == 2:
            pos += self.len
        self.pos = max(0, pos)
Testing getting the WKT.
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/io.py/StringIO.seek--crossover with--dataset/ETHPy150Open django/django/tests/gis_tests/gdal_tests/test_srs.py/SpatialRefTest.test03_get_wkt