diff options
Diffstat (limited to 'tests/test_cmd2.py')
-rwxr-xr-x | tests/test_cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index 313b4dee..fc8a1dae 100755 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -1332,7 +1332,7 @@ def test_clipboard_failure(base_app, capsys): # Make sure we got the error output out, err = capsys.readouterr() assert out == '' - assert "Cannot redirect to paste buffer; install 'pyperclip' and re-run to enable" in err + assert 'Cannot redirect to paste buffer;' in err and 'pyperclip' in err class CommandResultApp(cmd2.Cmd): |