GH-89812: Improve test for `pathlib.Path.stat()` by barneygale · Pull Request #106064 · python/cpython
barneygale
Make assertions about the `st_mode`, `st_ino` and `st_dev` attributes of
the stat results from two files and a directory, rather than checking if
`chmod()` affects `st_mode` (which is already tested elsewhere).