rlib/test/test_rpath.py::test_rabspath_absolute_nt
@py.test.mark.skipif("os.name != 'nt'")
def test_rabspath_absolute_nt():
> assert rpath._nt_rabspath('d:\\foo') == 'd:\\foo'
d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rlib\test\test_rpath.py:67:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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_absolute_nt