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

rlib/test/test_rpath.py::test_rabspath_relative

tmpdir = local('d:\\systemtemp\\pytest\\pytest-of-matti\\pytest-41\\test_rabspath_relative0')

    def test_rabspath_relative(tmpdir):
        tmpdir.chdir()
>       assert rpath.rabspath('foo') == os.path.realpath(str(tmpdir.join('foo')))

d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rlib\test\test_rpath.py:41: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rlib\rpath.py:158: in _nt_rabspath
    return rposix.getfullpathname(path)
d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rlib\rposix.py:720: in getfullpathname
    result = rstring.assert_str0(result)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

fname = u'd\\ytmeppts\\yeto-at\\yet4\\etrbpt_eaie\\\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'

    def assert_str0(fname):
>       assert '\x00' not in fname, "NUL byte in string"
E       AssertionError: NUL byte in string

d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rlib\rstring.py:1017: AssertionError
builder: rpython-win-x86-64 build #399
test: rlib/test/test_rpath/py/test_rabspath_relative