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

Unified Diff: tests/git_common_test.py

Issue 2076613002: use py3 compatible octal constants (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 b4049445e75f58063741ce50b3979cd699ac0c45..00f5ca4d74da4450291fa67cb665dc2a42082cdf 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': 0755,
+ 'mode': 0o0755,
'data': 'file2 - vanilla\n'},
}
@@ -750,7 +750,7 @@ class GitFreezeThaw(git_test_utils.GitRepoReadWriteTestBase):
COMMIT_C = {
'some/files/file2': {
- 'mode': 0755,
+ 'mode': 0o0755,
'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