diff --git a/cmd2.py b/cmd2.py
index 7965ea3b..66741e91 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -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.

Transcript testing prints errors twcie
Transcript test failures end up printing the failure twice.
diff --git a/tests/test_transcript.py b/tests/test_transcript.py
index 03fec92a..b193a20d 100644
--- a/tests/test_transcript.py
+++ b/tests/test_transcript.py
@@ -270,7 +270,7 @@ def test_transcript_from_cmdloop(request, capsys):
 
     # Check for the unittest "OK" condition for the 1 test which ran
     expected_start = ".\n----------------------------------------------------------------------\nRan 1 test in"
-    expected_end = "s\n\nOK\n\n"
+    expected_end = "s\n\nOK\n"
     out, err = capsys.readouterr()
     if six.PY3:
         assert err.startswith(expected_start)
@@ -296,7 +296,7 @@ def test_multiline_command_transcript_with_comments_at_beginning(request, capsys
 
     # Check for the unittest "OK" condition for the 1 test which ran
     expected_start = ".\n----------------------------------------------------------------------\nRan 1 test in"
-    expected_end = "s\n\nOK\n\n"
+    expected_end = "s\n\nOK\n"
     out, err = capsys.readouterr()
     if six.PY3:
         assert err.startswith(expected_start)
@@ -329,7 +329,7 @@ def test_regex_transcript(request, capsys):
 
     # Check for the unittest "OK" condition for the 1 test which ran
     expected_start = ".\n----------------------------------------------------------------------\nRan 1 test in"
-    expected_end = "s\n\nOK\n\n"
+    expected_end = "s\n\nOK\n"
     out, err = capsys.readouterr()
     if six.PY3:
         assert err.startswith(expected_start)

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest mock
3.9
requirements/base.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
-e git+https://github.com/python-cmd2/cmd2.git@af37a3414e232c268f9b57761670c051ab3fda32#egg=cmd2
exceptiongroup==1.2.2
iniconfig==2.1.0
mock==5.2.0
packaging==24.2
pluggy==1.5.0
pyparsing==3.2.3
pytest==8.3.5
six==1.17.0
tomli==2.2.1

name: cmd2
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=3.0.16=h5eee18b_0
  - pip=25.0=py39h06a4308_0
  - python=3.9.21=he870216_1
  - readline=8.2=h5eee18b_0
  - setuptools=75.8.0=py39h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - tzdata=2025a=h04d1e81_0
  - wheel=0.45.1=py39h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - exceptiongroup==1.2.2
      - iniconfig==2.1.0
      - mock==5.2.0
      - packaging==24.2
      - pluggy==1.5.0
      - pyparsing==3.2.3
      - pytest==8.3.5
      - six==1.17.0
      - tomli==2.2.1
prefix: /opt/conda/envs/cmd2

tests/test_transcript.py::test_transcript_from_cmdloop tests/test_transcript.py::test_multiline_command_transcript_with_comments_at_beginning tests/test_transcript.py::test_regex_transcript
tests/test_transcript.py::Cmd2TestCase::runTest tests/test_transcript.py::test_base_with_transcript tests/test_transcript.py::TestMyAppCase::runTest tests/test_transcript.py::test_optparser tests/test_transcript.py::test_optparser_nosuchoption tests/test_transcript.py::test_comment_stripping tests/test_transcript.py::test_optarser_correct_args_with_quotes_and_midline_options tests/test_transcript.py::test_optarser_options_with_spaces_in_quotes tests/test_transcript.py::test_commands_at_invocation tests/test_transcript.py::test_select_options tests/test_transcript.py::test_invalid_syntax
cmd2.py
cmd2.py