rlib/test/test_rposix.py::TestPosixUnicode::()::test_open
self = <rpython.rlib.test.test_rposix.TestPosixUnicode instance at 0x00000223df9cd7a0>
def test_open(self):
def f():
try:
fd = os.open(self.path, os.O_RDONLY, 0777)
try:
text = os.read(fd, 50)
return text
finally:
os.close(fd)
except OSError:
return ''
> assert ll_to_string(interpret(f, [])) == "test"
E assert '' == 'test'
E + test
rlib\test\test_rposix.py:390: AssertionError
---------- Captured stderr call ----------
[platform:msg] Updated environment with vsver 160, using x64 True
[rtyper] specializing: 100 / 475 blocks (21%)
[rtyper] specializing: 200 / 528 blocks (37%)
[rtyper] specializing: 300 / 528 blocks (56%)
[rtyper] specializing: 400 / 532 blocks (75%)
[rtyper] specializing: 500 / 532 blocks (93%)
[rtyper] -=- specialized 532 blocks -=-
[rtyper] -=- specialized 4 more blocks -=-
builder: rpython-win-x86-64 build #399
test: rlib/test/test_rposix/py/TestPosixUnicode/()/test_open