Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (11 sloc) 0.262 kb
import argparse
import doctest
parser = argparse.ArgumentParser(
description="Run a test by name"
)
parser.add_argument('test_name')
args = parser.parse_args()
doctest.testfile(
args.test_name,
optionflags=doctest.REPORT_ONLY_FIRST_FAILURE
)
Jump to Line
Something went wrong with that request. Please try again.