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

Side by Side Diff: tests/git_number_test.py

Issue 1150663002: Disable tests that break because of git 2.4 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Replace double quotes by single quotes. Created 5 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2013 The Chromium Authors. All rights reserved. 2 # Copyright 2013 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Unit tests for git_number.py""" 6 """Unit tests for git_number.py"""
7 7
8 import binascii 8 import binascii
9 import os 9 import os
10 import sys 10 import sys
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 self.repo.run(self.gn.clear_caches, True) 76 self.repo.run(self.gn.clear_caches, True)
77 self.assertEqual( 77 self.assertEqual(
78 None, 78 None,
79 self.repo.run(self.gn.get_num, binascii.unhexlify(self.repo['A']))) 79 self.repo.run(self.gn.get_num, binascii.unhexlify(self.repo['A'])))
80 80
81 81
82 if __name__ == '__main__': 82 if __name__ == '__main__':
83 sys.exit(coverage_utils.covered_main( 83 sys.exit(coverage_utils.covered_main(
84 os.path.join(DEPOT_TOOLS_ROOT, 'git_number.py'), 84 os.path.join(DEPOT_TOOLS_ROOT, 'git_number.py'),
85 '3.7' 85 '3.7'
86 )) 86 ))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698