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

Allow merging real with fake directories #903

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

mrbean-bremen
Copy link
Member

@mrbean-bremen mrbean-bremen commented Oct 31, 2023

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

- changed behavior of add_real_directory() to be able to map
  a real directory to an existing directory in the fake filesystem
- fixes pytest-dev#901
@mrbean-bremen mrbean-bremen merged commit 26ed458 into pytest-dev:main Nov 13, 2023
63 checks passed
@mrbean-bremen mrbean-bremen deleted the test-recursion branch November 13, 2023 18:08
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.

adding a realdir with target to '/' creates a self-referential '' entry that makes the fs unusable
1 participant