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

Use RealPathlibModule for all skipped modules #668

Merged
merged 1 commit into from
Feb 13, 2022

Conversation

mrbean-bremen
Copy link
Member

  • avoids the use of FakePathLibPath in pathlib
  • add _pytest.pathlib to skipped modules,
    fake isinstance check for RealPathlibPathModule
  • prevents issue with _pytest.pathlib in pytest 7.0.0,
    which would cause all tests with fs fixture to fail
  • see Bad assertion with pytest 7.0.0 & fs fixture #666

- avoids the use of FakePathLibPath in pathlib
- add _pytest.pathlib to skipped modules,
  fake isinstance check for RealPathlibPathModule
- prevents issue with _pytest.pathlib in pytest 7.0.0,
  which would cause all tests with fs fixture to fail
- see pytest-dev#666
@mrbean-bremen mrbean-bremen merged commit 2ee83a3 into pytest-dev:master Feb 13, 2022
@mrbean-bremen mrbean-bremen deleted the pytest7 branch February 14, 2022 18:41
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.

1 participant