summaryrefslogtreecommitdiff
path: root/tests_isolated/test_commandset/test_commandset.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests_isolated/test_commandset/test_commandset.py')
-rw-r--r--tests_isolated/test_commandset/test_commandset.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests_isolated/test_commandset/test_commandset.py b/tests_isolated/test_commandset/test_commandset.py
index d082c92e..7e4e1821 100644
--- a/tests_isolated/test_commandset/test_commandset.py
+++ b/tests_isolated/test_commandset/test_commandset.py
@@ -861,7 +861,7 @@ class CommandSetWithPathComplete(cmd2.CommandSet):
"""dummy variable prevents this from being autoloaded in other tests"""
super(CommandSetWithPathComplete, self).__init__()
- parser = argparse.ArgumentParser()
+ parser = cmd2.Cmd2ArgumentParser()
parser.add_argument('path', nargs='+', help='paths', completer=cmd2.Cmd.path_complete)
@cmd2.with_argparser(parser)