diff options
author | Todd Leonhardt <tleonhardt@gmail.com> | 2017-06-13 08:55:24 -0400 |
---|---|---|
committer | Todd Leonhardt <tleonhardt@gmail.com> | 2017-06-13 08:55:24 -0400 |
commit | c56ad0f564bce6cbea7406c3e28bccea26b6dbc4 (patch) | |
tree | 147837bbba8cf205a52880d7006841c4b2653598 /cmd2.py | |
parent | af37a3414e232c268f9b57761670c051ab3fda32 (diff) | |
download | cmd2-git-c56ad0f564bce6cbea7406c3e28bccea26b6dbc4.tar.gz |
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. |