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
This commit is contained in:
Cyril Roelandt 2014-02-17 22:32:19 +01:00
parent b8a850c5b3
commit ecf2868fb3

@ -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,)