rlib/test/test_rposix.py::TestPosixFunction::()::test__getfullpathname_long
self = <rpython.rlib.test.test_rposix.TestPosixFunction instance at 0x00000223df3b7420>
@win_only
def test__getfullpathname_long(self):
ustuff = u"C:" + u"\\abcd" * 100
> res = rposix.getfullpathname(ustuff)
rlib\test\test_rposix.py:90:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
rlib\rposix.py:720: in getfullpathname
result = rstring.assert_str0(result)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
fname = u'd\\yysufbido6\\lv\\pto-i-8-4bidryhnC\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
rlib\rstring.py:1017: AssertionError
builder: rpython-win-x86-64 build #399
test: rlib/test/test_rposix/py/TestPosixFunction/()/test__getfullpathname_long