Bug 248721

Summary: Avoid trailing whitespace when generating import-expectations.json
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: Tools / TestsAssignee: Tim Nguyen (:ntim) <ntim>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Tim Nguyen (:ntim) 2022-12-03 15:06:17 PST
Generating import-expectations.json can cause trailing whitespaces, in older versions of Python, this causes noise in WPT import diffs.

This is because older versions of python have `separators=(', ', ': ')` as default separators instead of `separators=(',', ': ')`.
Comment 1 Radar WebKit Bug Importer 2022-12-03 15:08:38 PST
<rdar://problem/102940524>
Comment 2 Tim Nguyen (:ntim) 2022-12-03 15:12:41 PST
Pull request: https://github.com/WebKit/WebKit/pull/7121
Comment 3 EWS 2022-12-03 15:18:27 PST
Committed 257335@main (06d28085c8e7): <https://commits.webkit.org/257335@main>

Reviewed commits have been landed. Closing PR #7121 and removing active labels.