Home - Summaries: (main) : (py3.11) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

rlib/test/test_streamio.py::TestDiskFile::()::test_seek_changed_underlying_position

self = <rpython.rlib.test.test_streamio.TestDiskFile instance at 0x00000261d5158120>

    @pytest.mark.skipif("sys.platform == 'darwin'")
    def test_seek_changed_underlying_position(self):
        tfn = str(udir.join('seek_changed_underlying_position'))
        fo = streamio.open_file_as_stream # shorthand
>       x = fo(tfn, 'w')

rlib\test\test_streamio.py:1146: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
rlib\streamio.py:88: in open_file_as_stream
    stream = open_path_helper(path, os_flags, basemode == "a", signal_checker)
rlib\streamio.py:123: in open_path_helper
    fd = rposix.open(path, os_flags, 0666)
rlib\rposix.py:471: in open
    return handle_posix_error('open', fd)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

name = 'open', result = -1

    @specialize.arg(0)
    def handle_posix_error(name, result):
        result = widen(result)
        if result < 0:
>           raise OSError(get_saved_errno(), '%s failed' % name)
E           OSError: [Errno 13] open failed

rlib\rposix.py:434: OSError
builder: rpython-win-x86-64 build #399
test: rlib/test/test_streamio/py/TestDiskFile/()/test_seek_changed_underlying_position