Expected OSError(errno.ELOOP, "Too many symbolic links", path) matching realpath on macOS:
wannes@Stefans-iMac dirs % realpath s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s
realpath: s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s: Too many levels of symbolic links
Bug report
Bug description:
Expected
OSError(errno.ELOOP, "Too many symbolic links", path)
matching realpath on macOS:CPython versions tested on:
3.12
Operating systems tested on:
macOS
Linked PRs