rlib/test/test_rposix.py::TestPosixFunction::()::test__getfullpathname
self = <rpython.rlib.test.test_rposix.TestPosixFunction instance at 0x00000223de8902a0>
@win_only
def test__getfullpathname(self):
posix = __import__(os.name)
sysdrv = os.getenv('SystemDrive', 'C:')
stuff = sysdrv + 'stuff'
> data = rposix.getfullpathname(stuff)
rlib\test\test_rposix.py:82:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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