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

Add some support for Python 3.11 #681

Merged
merged 1 commit into from
May 31, 2022

Conversation

mrbean-bremen
Copy link
Member

  • add Python 3.11 to CI tests
  • adapt the pathlib tests to work with Python 3.11
  • adapt handling of pathlib in unfaked modules:
    need to ensure that the original os module is used,
    as pathlib has removed the accessor layer and now
    directly accesses os
  • add target_is_directory argument to symlink (ignored)
  • 'U' open mode is no longer allowed in Python 3.11
  • closes Test failures in python 3.11 #677

- add Python 3.11 to CI tests
- adapt the pathlib tests to work with Python 3.11
- adapt handling of pathlib in unfaked modules:
  need to ensure that the original os module is used,
  as pathlib has removed the accessor layer and now
  directly accesses os
- add target_is_directory argument to symlink (ignored)
- 'U' open mode is no longer allowed in Python 3.11
- closes pytest-dev#677
@mrbean-bremen mrbean-bremen merged commit 95e9fb5 into pytest-dev:master May 31, 2022
@mrbean-bremen mrbean-bremen deleted the add-py311 branch October 2, 2022 15:53
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.

Test failures in python 3.11
1 participant