[webkit-changes] [WebKit/WebKit] 06d280: Avoid trailing whitespace when generating import-e...

Tim Nguyen noreply at github.com
Sat Dec 3 15:18:35 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 06d28085c8e71bd372b8119765048ce6cdac6aed
      https://github.com/WebKit/WebKit/commit/06d28085c8e71bd372b8119765048ce6cdac6aed
  Author: Tim Nguyen <ntim at apple.com>
  Date:   2022-12-03 (Sat, 03 Dec 2022)

  Changed paths:
    M Tools/Scripts/webkitpy/w3c/test_downloader.py

  Log Message:
  -----------
  Avoid trailing whitespace when generating import-expectations.json
https://bugs.webkit.org/show_bug.cgi?id=248721
rdar://102940524

Reviewed by Alexey Shvayka.

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=(',', ': ')`.

* Tools/Scripts/webkitpy/w3c/test_downloader.py:
(TestDownloader.update_import_expectations):

Canonical link: https://commits.webkit.org/257335@main




More information about the webkit-changes mailing list