Skip to content

GH-89812: Improve test for pathlib.Path.stat() - #106064

Merged
barneygale merged 1 commit into
python:mainfrom
barneygale:gh-89812-pathlib-tests-stat-improvements
Jul 1, 2023
Merged

GH-89812: Improve test for pathlib.Path.stat()#106064
barneygale merged 1 commit into
python:mainfrom
barneygale:gh-89812-pathlib-tests-stat-improvements

Conversation

@barneygale

@barneygalebarneygale commented Jun 24, 2023

Copy link
Copy Markdown
Contributor

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).

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).
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip newstestsTests in the Lib/test dirtopic-pathlib

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@barneygale@bedevere-bot