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

Side by Side Diff: third_party/gsutil/boto/tests/mturk/run-doctest.py

Issue 10199002: Upgrade gsutil to 3.4 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments Created 8 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 from __future__ import print_function
2
3 import argparse 1 import argparse
4 import doctest 2 import doctest
5 3
6 parser = argparse.ArgumentParser( 4 parser = argparse.ArgumentParser(
7 description="Run a test by name" 5 description="Run a test by name"
8 ) 6 )
9 parser.add_argument('test_name') 7 parser.add_argument('test_name')
10 args = parser.parse_args() 8 args = parser.parse_args()
11 9
12 doctest.testfile( 10 doctest.testfile(
13 args.test_name, 11 args.test_name,
14 optionflags=doctest.REPORT_ONLY_FIRST_FAILURE 12 optionflags=doctest.REPORT_ONLY_FIRST_FAILURE
15 » ) 13 » )
OLDNEW
« no previous file with comments | « third_party/gsutil/boto/tests/mturk/reviewable_hits.doctest ('k') | third_party/gsutil/boto/tests/mturk/search_hits.doctest » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698