Home - Summaries: (main) : (py3.11) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

pypy/module/posix/test/test_posix2.py::AppTestPosix::()::test_scandir_fd

self = <pypy.interpreter.typedef.W_ObjectObjectUserDictWeakrefable object at 0x00007fcf915e67c8>

    def test_scandir_fd(self):
            os = self.posix
            fd = None
            try:
                fd = os.open(self.Path('.'), os.O_RDONLY)
            except PermissionError:
                skip("Cannot open '.'")
            try:
                with os.scandir(fd) as it:
                    entries = list(it)
                names = os.listdir(fd)
>               assert len(entries) == len(names)
E               (application-level) AssertionError

[/Users/matti/build-worker-x86_64/own-macos-x86-64/build/pypy/module/posix/test/test_posix2.py:1751]:12: AssertionError
builder: own-macos-x86-64 build #1269+
test: pypy/module/posix/test/test_posix2.py::AppTestPosix::()::test_scandir_fd