From 197e3714bdcd3ffd3a9faa7568293727e0cd1fb9 Mon Sep 17 00:00:00 2001 From: Jian Cai Date: Thu, 16 Jan 2020 17:55:34 -0800 Subject: patch_manager_unittest: rename variables to be more meaningful BUG=chromium:1042953 TEST=verified locally. Change-Id: I1a452c2756491e69121a161a32ab007c4e79629d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2006728 Reviewed-by: George Burgess Tested-by: Jian Cai --- llvm_tools/patch_manager_unittest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm_tools/patch_manager_unittest.py b/llvm_tools/patch_manager_unittest.py index 688c2fe6..62947ed1 100755 --- a/llvm_tools/patch_manager_unittest.py +++ b/llvm_tools/patch_manager_unittest.py @@ -463,7 +463,7 @@ class PatchManagerTest(unittest.TestCase): # Simulate behavior for 'ApplyPatch()' when applying multiple applicable # patches. @CallCountsToMockFunctions - def MultipleCallsToApplyPatches(call_count, _, path_to_patch): + def MultipleCallsToApplyPatches(call_count, _src_path, path_to_patch): if call_count < 3: self.assertEqual( path_to_patch, @@ -569,7 +569,7 @@ class PatchManagerTest(unittest.TestCase): # Simulate behavior for 'ApplyPatch()' when applying multiple applicable # patches. @CallCountsToMockFunctions - def MultipleCallsToApplyPatches(call_count, _, path_to_patch): + def MultipleCallsToApplyPatches(call_count, _src_path, path_to_patch): if call_count < 3: self.assertEqual( path_to_patch, -- cgit v1.2.3