Fix tests failing because of a change in Python 3.10 argparse Modified from https://github.com/ashb/sphinx-argparse/commit/a7b186aa60cf256dd91268ca3c18e78ef6644223 Removed the changes to CI matrix since it doesn't exist in the PyPI tarball