We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41ea474 commit b70c15cCopy full SHA for b70c15c
1 file changed
tests/test_cmd2.py
@@ -1428,7 +1428,7 @@ def test_piped_input_rawinput_true_echo_false(capsys):
1428
# as stdin
1429
def piped_input_rawinput_false(capsys, echo, command):
1430
# mock up the input
1431
- fakein = io.StringIO(command)
+ fakein = io.StringIO(u'{}'.format(command))
1432
1433
# run the cmdloop, which should pull input from stdin
1434
app = cmd2.Cmd(stdin=fakein)
0 commit comments