[webkit-changes] [WebKit/WebKit] cb0b51: Use unittest.TestCase.id() to get the test name in...

Fujii Hironori noreply at github.com
Mon Dec 19 02:52:15 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cb0b510690bb234aa7de6fd757cf0a9aca1937ef
      https://github.com/WebKit/WebKit/commit/cb0b510690bb234aa7de6fd757cf0a9aca1937ef
  Author: Fujii Hironori <Hironori.Fujii at sony.com>
  Date:   2022-12-19 (Mon, 19 Dec 2022)

  Changed paths:
    M Tools/Scripts/webkitpy/test/main.py
    M Tools/Scripts/webkitpy/test/runner.py

  Log Message:
  -----------
  Use unittest.TestCase.id() to get the test name instead of regexp matching
https://bugs.webkit.org/show_bug.cgi?id=249568

Reviewed by Darin Adler.

Python v3.11 slightly changed the string representation of
unittest.TestCase object. This change broke test-webkitpy.

* Tools/Scripts/webkitpy/test/main.py:
(Tester._all_test_names):
* Tools/Scripts/webkitpy/test/runner.py:
(unit_test_name): Deleted.

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




More information about the webkit-changes mailing list