Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-89812: Miscellaneous pathlib test improvements #106063

Merged
merged 5 commits into from
Jul 1, 2023

Conversation

barneygale
Copy link
Contributor

@barneygale barneygale commented Jun 24, 2023

  • 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:main Jul 1, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir topic-pathlib
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants