]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
tests: make test_ceph_argparse.py pass on py3-only systems
authorNathan Cutler <ncutler@suse.com>
Fri, 6 Jul 2018 22:47:34 +0000 (00:47 +0200)
committerNathan Cutler <ncutler@suse.com>
Fri, 6 Jul 2018 22:47:34 +0000 (00:47 +0200)
commit5ed075d77f2be7aba6ae011b67a7cf9e3cd7d321
tree204078be59db9ca3deb418f31f60f788e0869c85
parentd5468145b3354aab38f7f882cb42cbb46915ad24
tests: make test_ceph_argparse.py pass on py3-only systems

On systems that do not have Python 2 installed, this test fails to
import StringIO.

Fixes: http://tracker.ceph.com/issues/24816
Signed-off-by: Nathan Cutler <ncutler@suse.com>
src/test/pybind/test_ceph_argparse.py