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

Side by Side Diff: tests/gclient_scm_test.py

Issue 6690034: Add more python 2.5 compatibility. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Don't force python 2.5 anymore (to be done in a separate change) Created 9 years, 8 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/python 1 #!/usr/bin/env python
2 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 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 gclient_scm.py.""" 6 """Unit tests for gclient_scm.py."""
7 7
8 # pylint: disable=E1101,E1103,W0403 8 # pylint: disable=E1101,E1103,W0403
9 9
10 # Import before super_mox to keep valid references. 10 # Import before super_mox to keep valid references.
11 from os import rename 11 from os import rename
12 from shutil import rmtree 12 from shutil import rmtree
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 823
824 if __name__ == '__main__': 824 if __name__ == '__main__':
825 if '-v' in sys.argv: 825 if '-v' in sys.argv:
826 logging.basicConfig( 826 logging.basicConfig(
827 level=logging.DEBUG, 827 level=logging.DEBUG,
828 format='%(asctime).19s %(levelname)s %(filename)s:' 828 format='%(asctime).19s %(levelname)s %(filename)s:'
829 '%(lineno)s %(message)s') 829 '%(lineno)s %(message)s')
830 unittest.main() 830 unittest.main()
831 831
832 # vim: ts=2:sw=2:tw=80:et: 832 # vim: ts=2:sw=2:tw=80:et:
OLDNEW
« no previous file with comments | « tests/gcl_unittest.py ('k') | tests/gclient_smoketest.py » ('j') | tests/owners_unittest.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698