Closed major closed 3 years ago
In Python 3.10, argparse uses options: instead of optional arguments:, and this broke some of the tests.
argparse
options:
optional arguments:
Add a condition to check the Python version and look for options: in the argparse output if the Python version is 3.10 or higher.
Fixes bw2/ConfigArgParse#225
Signed-off-by: Major Hayden major@mhtx.net
Thanks for the PR!
In Python 3.10,
argparse
usesoptions:
instead ofoptional arguments:
, and this broke some of the tests.Add a condition to check the Python version and look for
options:
in theargparse
output if the Python version is 3.10 or higher.Fixes bw2/ConfigArgParse#225
Signed-off-by: Major Hayden major@mhtx.net