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

Unified Diff: tests/git_common_test.py

Issue 2075923003: Simplify octal constants in Python code (e.g. 0o0700 -> 0o700). (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « testing_support/git_test_utils.py ('k') | tests/git_hyper_blame_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/git_common_test.py
diff --git a/tests/git_common_test.py b/tests/git_common_test.py
index 00f5ca4d74da4450291fa67cb665dc2a42082cdf..5a16fa31bf067c6c59adf8fbf4c553dde5432a74 100755
--- a/tests/git_common_test.py
+++ b/tests/git_common_test.py
@@ -175,7 +175,7 @@ class GitReadOnlyFunctionsTest(git_test_utils.GitRepoReadOnlyTestBase,
COMMIT_C = {
'some/files/file2': {
- 'mode': 0o0755,
+ 'mode': 0o755,
'data': 'file2 - vanilla\n'},
}
@@ -750,7 +750,7 @@ class GitFreezeThaw(git_test_utils.GitRepoReadWriteTestBase):
COMMIT_C = {
'some/files/file2': {
- 'mode': 0o0755,
+ 'mode': 0o755,
'data': 'file2 - vanilla'},
}
« no previous file with comments | « testing_support/git_test_utils.py ('k') | tests/git_hyper_blame_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698