Bug 229959

Summary: Fix new DeprecationWarning in webkitpy
Product: WebKit Reporter: Sam Sneddon [:gsnedders] <gsnedders>
Component: Tools / TestsAssignee: Sam Sneddon [:gsnedders] <gsnedders>
Status: RESOLVED FIXED    
Severity: Normal CC: ews-watchlist, glenn, jbedard, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Sam Sneddon [:gsnedders] 2021-09-06 06:12:56 PDT
Since https://commits.webkit.org/240757@main, bug 200556, webkitpy has contained a depreciation warning:

  Tools/Scripts/webkitpy/layout_tests/controllers/manager.py:863: DeprecationWarning: invalid escape sequence \g
    truncated_dirname = re.sub(r'^.*(.{47})$', '...\g<1>', dirname if device_test_stats[dirname]['has_tests'] else '{}*'.format(dirname))
Comment 1 Sam Sneddon [:gsnedders] 2021-09-06 06:15:28 PDT
Created attachment 437407 [details]
Patch
Comment 2 EWS 2021-09-07 02:34:16 PDT
Committed r282076 (241376@main): <https://commits.webkit.org/241376@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 437407 [details].
Comment 3 Radar WebKit Bug Importer 2021-09-07 02:35:40 PDT
<rdar://problem/82813274>