diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-03-13 21:40:56 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-03-13 21:40:56 -0400 |
commit | 8c1e01886853471d8dadd473f491f310937b01d0 (patch) | |
tree | f41bf6a8699495575640d0d8fda37d45d0e4d056 /tests/test_cmd2.py | |
parent | 8b0505c5ccdc7516572afe1426d82666f97232af (diff) | |
download | cmd2-git-8c1e01886853471d8dadd473f491f310937b01d0.tar.gz |
Mostly fix a bunch of spelling mistakes.
A few other miscellaneous minor tweaks for whitespace and such.
Diffstat (limited to 'tests/test_cmd2.py')
-rw-r--r-- | tests/test_cmd2.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index 0f1328f3..99409d46 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -75,7 +75,7 @@ def test_base_set_not_supported(base_app, capsys): run_cmd(base_app, 'set qqq True') out, err = capsys.readouterr() expected = normalize(""" -EXCEPTION of type 'LookupError' occured with message: 'Parameter 'qqq' not supported (type 'show' for list of parameters).' +EXCEPTION of type 'LookupError' occurred with message: 'Parameter 'qqq' not supported (type 'show' for list of parameters).' To enable full traceback, run the following command: 'set debug true' """) assert normalize(str(err)) == expected @@ -446,12 +446,12 @@ def test_base_colorize(base_app): def _expected_no_editor_error(): expected_exception = 'OSError' - # If using Python 2 or PyPy (either 2 or 3), expect a differen excpetion than with Python 3 + # If using Python 2 or PyPy (either 2 or 3), expect a different exception than with Python 3 if six.PY2 or hasattr(sys, "pypy_translation_info"): expected_exception = 'EnvironmentError' expected_text = normalize(""" -EXCEPTION of type '{}' occured with message: 'Please use 'set editor' to specify your text editing program of choice.' +EXCEPTION of type '{}' occurred with message: 'Please use 'set editor' to specify your text editing program of choice.' To enable full traceback, run the following command: 'set debug true' """.format(expected_exception)) |