'Test seeking with unsupported whence arguments.'

def test_seek_unsupported(self, pyqiodev):

    if hasattr(os, 'SEEK_HOLE'):
        whence = os.SEEK_HOLE
    elif hasattr(os, 'SEEK_DATA'):
        whence = os.SEEK_DATA
    else:
        pytest.skip('Needs    os.SEEK_HOLE    or    os.SEEK_DATA    available.')
    pyqiodev.open(QIODevice.ReadOnly)
    with pytest.raises(io.UnsupportedOperation):
        pyqiodev.seek(0, whence)
