Skip to content

Fix instantiation of standalone FakePathlibModule #1170

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

Merged
merged 1 commit into from
May 24, 2025

Conversation

mrbean-bremen
Copy link
Member

@mrbean-bremen mrbean-bremen commented May 23, 2025

This may break one rather special test if pathlib2 is installed, but I'm goin to ignore this - pathlib2 is depretated and will be removed in pyfakefs 6.

Tasks

  • Unit tests added that reproduce the issue or prove feature is working
  • Fix or feature added
  • Entry to release notes added
  • Pre-commit CI shows no errors
  • Unit tests passing
  • For documentation changes: The Read the Docs preview builds and looks as expected

Sorry, something went wrong.

Verified

This commit was signed with the committer’s verified signature.
- needs a patched os in Python >= 3.11
@mrbean-bremen mrbean-bremen force-pushed the fake_pathlib-instance branch from b88deb3 to e747739 Compare May 23, 2025 19:58
@mrbean-bremen mrbean-bremen merged commit 6c0ac39 into pytest-dev:main May 24, 2025
121 checks passed
@mrbean-bremen mrbean-bremen deleted the fake_pathlib-instance branch June 3, 2025 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FakePathlibModule shows real files on Python 3.11+ (works on 3.10)
1 participant