[Webkit-unassigned] [Bug 230551] [WebDriver] Update w3c and selenium tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 22 19:42:07 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=230551

--- Comment #11 from Lauro Moura <lmoura at igalia.com> ---
Sorry, there was a small issue left at the end of the test run. webdriver_test_runner.py trying to write json to a 'wb' opened file instead of 'w' for py3:

Traceback (most recent call last):
  File "/app/webkit/Tools/Scripts/run-webdriver-tests", line 90, in <module>
    runner.dump_results_to_json_file(options.json_output)
  File "/app/webkit/Tools/Scripts/webkitpy/webdriver_tests/webdriver_test_runner.py", line 169, in dump_results_to_json_file
    json.dump(json_results, fp)
  File "/usr/lib/python3.8/json/__init__.py", line 180, in dump
    fp.write(chunk)
TypeError: a bytes-like object is required, not 'str'

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210923/cfa387a5/attachment.htm>


More information about the webkit-unassigned mailing list