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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/memoized_unittest.py

Issue 2580293002: Style change: Rename error variables "e" -> "error" (Closed)
Patch Set: Rebase and fix formatter unittest. Created 4 years 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/common/memoized_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/memoized_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/memoized_unittest.py
index 417556b80c8679c5425f0be810834dcc44554c92..2f4e5678bfe1b5fbbc9ea00550191431cc5e8467 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/memoized_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/memoized_unittest.py
@@ -71,8 +71,8 @@ class MemoizedTest(unittest.TestCase):
try:
test.memoized_add_one([])
self.fail('Expected TypeError.')
- except TypeError as e:
+ except TypeError as error:
self.assertEqual(
- e.message,
+ error.message,
'Cannot call memoized function memoized_add_one with '
'unhashable arguments: unhashable type: \'list\'')

Powered by Google App Engine
This is Rietveld 408576698