rlib/test/test_rposix.py::test_fdlistdir
tmpdir = local('/private/tmp/buildbot-x86_64/pytest/pytest-of-matti/pytest-547/test_fdlistdir0')
@rposix_requires('fdlistdir')
def test_fdlistdir(tmpdir):
tmpdir.join('file').write('text')
dirfd = os.open(str(tmpdir), os.O_RDONLY)
result = rposix.fdlistdir(dirfd)
# Note: fdlistdir() always closes dirfd
> assert result == ['file']
E assert ['ile'] == ['file']
E At index 0 diff: 'ile' != 'file'
E Use -v to get the full diff
rlib/test/test_rposix.py:583: AssertionError
builder: rpython-macos-x86-64 build #276
test: rlib/test/test_rposix/py/test_fdlistdir