Bug 249568

Summary: Use unittest.TestCase.id() to get the test name instead of regexp matching
Product: WebKit Reporter: Fujii Hironori <fujii.hironori>
Component: Tools / TestsAssignee: Fujii Hironori <fujii.hironori>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, ews-watchlist, glenn, gsnedders, jbedard, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Fujii Hironori
Reported 2022-12-18 21:07:04 PST
Use unittest.TestCase.id() to get the test name instead of regexp matching Python v3.11 slightly changed the string representation of unittest.TestCase object. This change broke test-webkitpy. https://docs.python.org/3.11/library/unittest.html > test_isupper (__main__.TestStringMethods.test_isupper) ... ok https://docs.python.org/3.10/library/unittest.html > test_isupper (__main__.TestStringMethods) ... ok
Attachments
Patch (2.16 KB, patch)
2022-12-18 21:11 PST, Fujii Hironori
no flags
Fujii Hironori
Comment 1 2022-12-18 21:11:32 PST
EWS
Comment 2 2022-12-19 02:52:05 PST
Committed 258076@main (cb0b510690bb): <https://commits.webkit.org/258076@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 464100 [details].
Radar WebKit Bug Importer
Comment 3 2022-12-19 02:53:16 PST
Note You need to log in before you can comment on or make changes to this bug.