Title: [276435] trunk/Tools
- Revision
- 276435
- Author
- [email protected]
- Date
- 2021-04-22 07:48:51 -0700 (Thu, 22 Apr 2021)
Log Message
server_process_unittest.py's MockFile should all be bytes
https://bugs.webkit.org/show_bug.cgi?id=224877
Reviewed by Jonathan Bedard.
This fixes the test when run under pytest on Python 3.
* Scripts/webkitpy/port/server_process_unittest.py:
(MockFile.read):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (276434 => 276435)
--- trunk/Tools/ChangeLog 2021-04-22 14:09:22 UTC (rev 276434)
+++ trunk/Tools/ChangeLog 2021-04-22 14:48:51 UTC (rev 276435)
@@ -1,5 +1,17 @@
2021-04-22 Sam Sneddon <[email protected]>
+ server_process_unittest.py's MockFile should all be bytes
+ https://bugs.webkit.org/show_bug.cgi?id=224877
+
+ Reviewed by Jonathan Bedard.
+
+ This fixes the test when run under pytest on Python 3.
+
+ * Scripts/webkitpy/port/server_process_unittest.py:
+ (MockFile.read):
+
+2021-04-22 Sam Sneddon <[email protected]>
+
Fix potential flakiness when running webkitpy tests
https://bugs.webkit.org/show_bug.cgi?id=224887
Modified: trunk/Tools/Scripts/webkitpy/port/server_process_unittest.py (276434 => 276435)
--- trunk/Tools/Scripts/webkitpy/port/server_process_unittest.py 2021-04-22 14:09:22 UTC (rev 276434)
+++ trunk/Tools/Scripts/webkitpy/port/server_process_unittest.py 2021-04-22 14:48:51 UTC (rev 276435)
@@ -70,7 +70,7 @@
def read(self, size=0):
# This means end of file
- return ''
+ return b''
def close(self):
self.closed = True
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes