expected failure should not trigger failfast behavior in unittest.

This commit is contained in:
Michael Foord 2010-03-22 01:56:54 +00:00
parent 49899690a8
commit 0ce167277a
3 changed files with 1 additions and 8 deletions

View file

@ -178,7 +178,7 @@ class TestProgram(object):
testRunner = self.testRunner(verbosity=self.verbosity,
failfast=self.failfast)
except TypeError:
# didn't accept the verbosity or failfast argument
# didn't accept the verbosity or failfast arguments
testRunner = self.testRunner()
else:
# it is assumed to be a TestRunner instance