Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(520)

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/style/checker_unittest.py

Issue 2188623002: Change logging statements to not use the "%" operator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Tools/Scripts/webkitpy/style/checker_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/style/checker_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/style/checker_unittest.py
index 6bb238c6323cf3370c9df1f37b35cf489a0e9b79..a60590bd9a0168b66960af6e65b1da418b4f2a4b 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/style/checker_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/style/checker_unittest.py
@@ -118,7 +118,7 @@ class ConfigureLoggingTest(ConfigureLoggingTestBase):
is_verbose = False
def test_warning_message(self):
- self._log.warn("test message")
+ self._log.warning("test message")
self.assert_log_messages(["WARNING: test message\n"])
def test_below_warning_message(self):

Powered by Google App Engine
This is Rietveld 408576698