[Webkit-unassigned] [Bug 232213] New: webkitpy tests failing on Python 3.11

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 24 04:49:45 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=232213

            Bug ID: 232213
           Summary: webkitpy tests failing on Python 3.11
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: gsnedders at apple.com
                CC: jbedard at apple.com

Python 3.11 is removing a number of deprecated things, including various unittest methods: https://docs.python.org/3.11/whatsnew/3.11.html#removed / https://docs.python.org/3.10/library/unittest.html?highlight=unittest#deprecated-aliases

Our challenge here is the rename of assertRegexpMatches to assertRegex and assertRaisesRegexp to assertRaisesRegex (both deprecated since Python 3.2), plus assertNotRegexpMatches to assertNotRegex (deprecated since Python 3.5), since none of the new names exist in Python 2.7.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211024/f4e97783/attachment-0001.htm>


More information about the webkit-unassigned mailing list