]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-89812: Improve test for `pathlib.Path.stat()` (GH-106064)
authorBarney Gale <barney.gale@gmail.com>
Sat, 1 Jul 2023 12:33:29 +0000 (13:33 +0100)
committerGitHub <noreply@github.com>
Sat, 1 Jul 2023 12:33:29 +0000 (13:33 +0100)
commitc2622a0d82078a7ab17597707b4dd42446a043ae
tree6aa2d91be21a7a54ade2e16a9e6d3a12a88181c2
parentcbc33e4aede10f4d5799d9f7aa9ec5b91414f65b
GH-89812: Improve test for `pathlib.Path.stat()` (GH-106064)

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).
Lib/test/test_pathlib.py