From c4fd5b6403651ccc89976edd4e04549471b4a23b Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Tue, 4 Jun 2019 15:55:16 -0400 Subject: Removed _STOP_AND_EXIT cmd2 class member since it was meant to be a boolean constant and was only used internally --- tests/test_cmd2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index 4fc9fd59..7ea4f227 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -1950,7 +1950,8 @@ Usage: exit [exit_code] self.exit_code = -1 self._should_quit = True - return self._STOP_AND_EXIT + # Return True to stop the command loop + return True def postloop(self) -> None: """Hook method executed once when the cmdloop() method is about to return.""" -- cgit v1.2.1