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 use assertRegex instead of deprecated assertRegexpMatches #7496

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 18, 2024

  1. Use use assertRegex instead of deprecated assertRegexpMatches

    This commit updates cppgentests.py to use assertRegex instead of
    assertRegexpMatches which has been deprecated in Python 3.2 [1]
    and removed in Python 3.12.
    
    This caused failures on RISC-V since Debian port ships only
    Python 3.12.7 (at the time of writing.
    
    [1]: https://docs.python.org/release/3.11.0/library/unittest.html#unittest.TestCase.assertRegex
    janvrany committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    bb618e8 View commit details
    Browse the repository at this point in the history