summaryrefslogtreecommitdiff
path: root/tests/test_plugin.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2020-08-25 11:25:00 -0400
committerGitHub <noreply@github.com>2020-08-25 11:25:00 -0400
commitae7e67c20217baaa17e6d182a3fd33b9e8c982e8 (patch)
treeb8cfbaca2ec4622a981d96c33c7a964ca621108e /tests/test_plugin.py
parenta540cfc5373cee2272de6c81be8b6fa8a78c6462 (diff)
parent9b5a98825a9b00807a40494e8c634c392077ccd2 (diff)
downloadcmd2-git-ae7e67c20217baaa17e6d182a3fd33b9e8c982e8.tar.gz
Merge pull request #984 from python-cmd2/recursion_error
Fixed RecursionError when printing an argparse.Namespace
Diffstat (limited to 'tests/test_plugin.py')
-rw-r--r--tests/test_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_plugin.py b/tests/test_plugin.py
index e49cbbfc..d40a9b61 100644
--- a/tests/test_plugin.py
+++ b/tests/test_plugin.py
@@ -279,7 +279,7 @@ class PluggedApp(Plugin, cmd2.Cmd):
@with_argparser(parser)
def do_argparse_cmd(self, namespace: argparse.Namespace):
"""Repeat back the arguments"""
- self.poutput(namespace.__statement__)
+ self.poutput(namespace.get_statement())
###
#