diff options
| author | Cyril Roelandt <cyril.roelandt@enovance.com> | 2014-02-17 22:32:19 +0100 |
|---|---|---|
| committer | Cyril Roelandt <cyril.roelandt@enovance.com> | 2014-02-19 01:54:08 +0100 |
| commit | ecf2868fb3bd3374d196b28fedfa0fb94f5757f4 (patch) | |
| tree | 03c6327e083d4d54f040397ed20b43bcb546cda7 /tests | |
| parent | b8a850c5b35e19c7760e367648aa0576f2921bd4 (diff) | |
| download | python-glanceclient-ecf2868fb3bd3374d196b28fedfa0fb94f5757f4.tar.gz | |
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
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_shell.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test_shell.py b/tests/test_shell.py index 47b5b30..1aa44a0 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,) |
