Bug 1528109 [wpt PR 15363] - Correct format string in logging messages, a=testonly
authorjugglinmike <mike@mikepennisi.com>
Tue, 05 Mar 2019 11:12:08 +0000
changeset 522139 3bd6059a1b6414721944c0fa2bbecd01a7818ec4
parent 522138 c3299b5db5d855ccab9ad6551172bdc9e36844e9
child 522140 89dc1513582b72484244b676404792d5239e2e2e
push id10871
push usercbrindusan@mozilla.com
push dateMon, 18 Mar 2019 15:49:32 +0000
treeherdermozilla-beta@018abdd16060 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1528109, 15363
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1528109 [wpt PR 15363] - Correct format string in logging messages, a=testonly Automatic update from web-platform-tests Correct format string in logging messages (#15363) -- wpt-commits: c18a2a49589f9cac44270f2daee298a79989951c wpt-pr: 15363
testing/web-platform/tests/tools/wpt/browser.py
--- a/testing/web-platform/tests/tools/wpt/browser.py
+++ b/testing/web-platform/tests/tools/wpt/browser.py
@@ -464,17 +464,17 @@ class Chrome(Browser):
         if uname[0] != "Windows":
             try:
                 version_string = call(binary, "--version").strip()
             except subprocess.CalledProcessError:
                 self.logger.warning("Failed to call %s", binary)
                 return None
             m = re.match(r"Google Chrome (.*)", version_string)
             if not m:
-                self.logger.warning("Failed to extract version from: s%", version_string)
+                self.logger.warning("Failed to extract version from: %s", version_string)
                 return None
             return m.group(1)
         self.logger.warning("Unable to extract version from binary on Windows.")
         return None
 
 
 class ChromeAndroid(Browser):
     """Chrome-specific interface for Android.
@@ -663,17 +663,17 @@ class Safari(Browser):
         # The `--version` flag was added in STP 67, so allow the call to fail.
         try:
             version_string = call(webdriver_binary, "--version").strip()
         except subprocess.CalledProcessError:
             self.logger.warning("Failed to call %s --version", webdriver_binary)
             return None
         m = re.match(r"Included with Safari (.*)", version_string)
         if not m:
-            self.logger.warning("Failed to extract version from: s%", version_string)
+            self.logger.warning("Failed to extract version from: %s", version_string)
             return None
         return m.group(1)
 
 
 class Servo(Browser):
     """Servo-specific interface."""
 
     product = "servo"