浏览代码

git_hyper_blame_test: Fix pylint issue.

TBR=agable@chromium.org
Bug: 863669
Change-Id: Id641269f023acc1a89e83e9e5951e933eae93d40
Reviewed-on: https://chromium-review.googlesource.com/1145720
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
Edward Lemur 7 年之前
父节点
当前提交
60b9b6fb91
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/git_hyper_blame_test.py

+ 1 - 1
tests/git_hyper_blame_test.py

@@ -182,7 +182,7 @@ class GitHyperBlameMainTest(GitHyperBlameTestBase):
     stderr = StringIO.StringIO()
     stderr = StringIO.StringIO()
 
 
     with tempfile.NamedTemporaryFile(mode='w+', prefix='ignore') as ignore_file:
     with tempfile.NamedTemporaryFile(mode='w+', prefix='ignore') as ignore_file:
-      ignore_file.write('# Line comments are allowed.\n'.format(self.repo['B']))
+      ignore_file.write('# Line comments are allowed.\n')
       ignore_file.write('\n')
       ignore_file.write('\n')
       ignore_file.write('{}\n'.format(self.repo['B']))
       ignore_file.write('{}\n'.format(self.repo['B']))
       # A revision that is not in the repo (should be ignored).
       # A revision that is not in the repo (should be ignored).