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 Python 3.11 compatibility to 4.6.x #11362

Closed
wants to merge 2 commits into from

Commits on Aug 26, 2023

  1. Fix assertion rewriting on Python 3.10

    Fixes pytest-dev#8539
    
    This seems to have been the result of https://bugs.python.org/issue43798
    hauntsaninja authored and Taiju Yamada committed Aug 26, 2023
    Configuration menu
    Copy the full SHA
    fef682a View commit details
    Browse the repository at this point in the history
  2. rewrite: fixup end_lineno, end_col_offset of rewritten asserts

    These are new additions in Python 3.8:
    https://docs.python.org/3/whatsnew/3.8.html#ast
    I'm not sure what's using them but we should set them anyway.
    bluetech authored and Taiju Yamada committed Aug 26, 2023
    Configuration menu
    Copy the full SHA
    f205b1e View commit details
    Browse the repository at this point in the history