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

Forward unfaked fcntl calls to real module #1075

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

mrbean-bremen
Copy link
Member

@mrbean-bremen mrbean-bremen commented Oct 11, 2024

While adding support for skipped modules, the forwarding of unfaked attributes to the real fcntl module had been removed accidentally.

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

- had been removed accidentally in 5.7.0
- fixes pytest-dev#1074
@mrbean-bremen mrbean-bremen merged commit 305ed2e into pytest-dev:main Oct 11, 2024
67 checks passed
@mrbean-bremen mrbean-bremen deleted the unfaked_fcntl branch October 11, 2024 17:42
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.

AttributeError: 'FakeFcntlModule' object has no attribute 'LOCK_SH' (Also 'LOCK_UN' and 'LOCK_EX')
1 participant