Comment on the changes made to TestProgram.

This commit is contained in:
James Westby
2010-06-10 23:08:38 +01:00
parent 6bc7c33595
commit c51309af24

View File

@@ -47,6 +47,11 @@ class TestToolsTestRunner(object):
####################
# Taken from python 2.7 and slightly modified for compatibility with
# older versions. Delete when 2.7 is the oldest supported version.
# Modifications:
# - Use have_discover to raise an error if the user tries to use
# discovery on an old version and doesn't have discover installed.
# - If --catch is given check that installHandler is available, as
# it won't be on old python versions.
FAILFAST = " -f, --failfast Stop on first failure\n"
CATCHBREAK = " -c, --catch Catch control-C and display results\n"