Bug 249568

Summary: Use unittest.TestCase.id() to get the test name instead of regexp matching
Product: WebKit Reporter: Fujii Hironori <Hironori.Fujii>
Component: Tools / TestsAssignee: Fujii Hironori <Hironori.Fujii>
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

Description Fujii Hironori 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
Comment 1 Fujii Hironori 2022-12-18 21:11:32 PST
Created attachment 464100 [details]
Patch
Comment 2 EWS 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].
Comment 3 Radar WebKit Bug Importer 2022-12-19 02:53:16 PST
<rdar://problem/103510183>