https://github.com/tox-dev/platformdirs/issues/629 --- platformdirs-4.13.6/tests/test_unix.py.orig +++ platformdirs-4.13.6/tests/test_unix.py @@ -402,7 +402,7 @@ } _UNREACHABLE: typing.Final = { "file": "Not a directory", - "symlink-loop": "Too many levels of symbolic links", + "symlink-loop": "Number of symbolic links encountered during path name traversal exceeds MAXSYMLINKS", } _DEFAULT_PREFIXES: typing.Final = { "linux": "run/user",