Skip to content

GH-89812: Miscellaneous pathlib test improvements - #106063

Merged
barneygale merged 5 commits into
python:mainfrom
barneygale:gh-89812-pathlib-tests-misc
Jul 1, 2023
Merged

GH-89812: Miscellaneous pathlib test improvements#106063
barneygale merged 5 commits into
python:mainfrom
barneygale:gh-89812-pathlib-tests-misc

Conversation

@barneygale

@barneygalebarneygale commented Jun 24, 2023

Copy link
Copy Markdown
Contributor
  • Split out dedicated test for unbuffered open()
  • Split out dedicated test for is_mount() at the filesystem root
  • Avoid os.stat() when checking that empty paths point to '.'
  • Remove unnecessary rmtree() call
  • Remove unused assertSame() method

- Split out dedicated test for unbuffered `open()`
- Split out dedicated test for `is_mount()` at the filesystem root
- Avoid `os.stat()` when checking that empty paths point to '.'
- Remove unnecessary `rmtree()` call
@barneygale
barneygale enabled auto-merge (squash) July 1, 2023 12:18
@barneygale
barneygale merged commit cbc33e4 into python:mainJul 1, 2023
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