diff options
author | Jian Cai <jiancai@google.com> | 2020-01-16 17:55:34 -0800 |
---|---|---|
committer | Jian Cai <jiancai@google.com> | 2020-01-17 02:10:36 +0000 |
commit | 197e3714bdcd3ffd3a9faa7568293727e0cd1fb9 (patch) | |
tree | b845d7853100636c6c5295cd16f35286ee3c123b | |
parent | b47813efda60622787afcb0a9bc3070031ac4e9f (diff) | |
download | toolchain-utils-197e3714bdcd3ffd3a9faa7568293727e0cd1fb9.tar.gz |
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 <gbiv@chromium.org>
Tested-by: Jian Cai <jiancai@google.com>
-rwxr-xr-x | llvm_tools/patch_manager_unittest.py | 4 |
1 files 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, |