@@ -1389,7 +1389,7 @@ def test_echo(capsys):
13891389 assert app ._current_script_dir is None
13901390 assert out .startswith ('{}{}\n ' .format (app .prompt , command ) + 'history [arg]: lists past commands issued' )
13911391
1392- def test_pseudo_raw_input_tty_rawinput_true (capsys ):
1392+ def test_pseudo_raw_input_tty_rawinput_true ():
13931393 minput = mock .MagicMock (name = 'input' , side_effect = ['set' , 'quit' ])
13941394 sm .input = minput
13951395 mtty = mock .MagicMock (name = 'isatty' , return_value = True )
@@ -1398,9 +1398,7 @@ def test_pseudo_raw_input_tty_rawinput_true(capsys):
13981398 # run the cmdloop, which should pull input from the mocked input
13991399 app = cmd2 .Cmd ()
14001400 app .use_rawinput = True
1401- app .abbrev = False
14021401 app ._cmdloop ()
1403- out , err = capsys .readouterr ()
14041402
14051403 # because we mocked the input() call, we won't see the prompt
14061404 # or the name of the command in the output, so we can't check
@@ -1409,7 +1407,7 @@ def test_pseudo_raw_input_tty_rawinput_true(capsys):
14091407 # that the rest of it worked
14101408 assert minput .call_count == 2
14111409
1412- def test_pseudo_raw_input_tty_rawinput_false (capsys ):
1410+ def test_pseudo_raw_input_tty_rawinput_false ():
14131411 # mock up the input
14141412 fakein = io .StringIO (u'{}' .format ('set\n quit\n ' ))
14151413 mtty = mock .MagicMock (name = 'isatty' , return_value = True )
@@ -1420,9 +1418,7 @@ def test_pseudo_raw_input_tty_rawinput_false(capsys):
14201418 # run the cmdloop, telling it where to get input from
14211419 app = cmd2 .Cmd (stdin = fakein )
14221420 app .use_rawinput = False
1423- app .abbrev = False
14241421 app ._cmdloop ()
1425- out , err = capsys .readouterr ()
14261422
14271423 # because we mocked the readline() call, we won't see the prompt
14281424 # or the name of the command in the output, so we can't check
0 commit comments