diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-06-13 09:17:01 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-13 09:17:01 -0400 |
commit | 4dd457ab70eeac263ef3ad8a6642dbf4a39540b2 (patch) | |
tree | 147837bbba8cf205a52880d7006841c4b2653598 /cmd2.py | |
parent | af37a3414e232c268f9b57761670c051ab3fda32 (diff) | |
parent | c56ad0f564bce6cbea7406c3e28bccea26b6dbc4 (diff) | |
download | cmd2-git-4dd457ab70eeac263ef3ad8a6642dbf4a39540b2.tar.gz |
Merge pull request #121 from python-cmd2/transcript_double_failures
Fixes a bug which caused transcript failures to display twice
Diffstat (limited to 'cmd2.py')
-rwxr-xr-x | cmd2.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1895,8 +1895,7 @@ Script should contain one command per line, just like command would be typed in sys.argv = [sys.argv[0]] # the --test argument upsets unittest.main() testcase = TestMyAppCase() runner = unittest.TextTestRunner() - result = runner.run(testcase) - result.printErrors() + runner.run(testcase) def _run_commands_at_invocation(self, callargs): """Runs commands provided as arguments on the command line when the application is started. |