From ecf2868fb3bd3374d196b28fedfa0fb94f5757f4 Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Mon, 17 Feb 2014 22:32:19 +0100 Subject: [PATCH] test_shell: remove a deprecated keyword argument The 'version' keyword argument of argparse.ArgumentParser is deprecated. It was set to 'None' anyway, so just remove it. Closes-Bug: #1281856 Change-Id: I6e5af0d90e9b1e7a6a60d5183c13299101148442 --- tests/test_shell.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test_shell.py b/tests/test_shell.py index 47b5b304..1aa44a01 100644 --- a/tests/test_shell.py +++ b/tests/test_shell.py @@ -81,7 +81,6 @@ class ShellTest(utils.TestCase): expected = argparse.ArgumentParser( prog='glance', usage=None, description=description, - version=None, conflict_handler='error', add_help=False, formatter_class=openstack_shell.HelpFormatter,)