Commit 9034555f authored by James R Wilcox's avatar James R Wilcox
Browse files

Update run-tests.py

parent 36ec27af
......@@ -91,6 +91,8 @@ CURRENT_TESTS["all"] = all_tests
CURRENT_TESTS.update(specific_file_tests)
print(list(CURRENT_TESTS.keys()))
# Below this are a variety of "fixes" to doctest that make it more user-friendly
old_truncate = doctest._SpoofOut.truncate
......@@ -197,7 +199,7 @@ def parse_arguments(argv):
parser = argparse.ArgumentParser(description='WBE test runner')
parser.add_argument("chapter",
nargs="?",
default="chapter10",
default="chapter2",
choices=list(CURRENT_TESTS),
help="Which chapter's tests to run")
args = parser.parse_args(argv[1:])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment