-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
Describe the bug
Since the 0.1.7 release, several tests are failing:
To Reproduce
pytestExpected behavior
Tests succeed.
Actual behavior
=========================== short test summary info ============================
FAILED test/test_bools.py::test_bool_args_in_help - AssertionError: assert 'usage: __mai...ult: False)\n' == 'usage: __mai...ul...
FAILED test/test_docstrings.py::test_weird_docstring_with_field_like - AssertionError: assert AttributeDocS..._docstring='') == AttributeDocS..._d...
FAILED test/test_docstrings.py::test_docstring_builds_upon_bases - AssertionError: assert AttributeDocS..._docstring='') == AttributeDocS..._d...
FAILED test/test_docstrings.py::test_desc_from_cls_docstring - AssertionError: assert AttributeDocS...y default 32') == AttributeDocS...y ...
FAILED test/test_docstrings.py::test_help_takes_value_from_docstring - AssertionError: assert AttributeDocS...Display logs') == AttributeDocS...Di...
FAILED test/test_examples.py::test_running_example_outputs_expected_without_arg[examples/aliases/aliases_example.py] - AssertionError: (['Namespace(train=RunSettings(debug=False, verbose=False),...
FAILED test/test_examples.py::test_running_example_outputs_expected_without_arg[examples/simple/flag.py] - AssertionError: (["HParams(num_layers=4, num_units=64, optimizer='ADAM', le...
FAILED test/test_examples.py::test_running_example_outputs_expected_without_arg[examples/simple/option_strings.py] - AssertionError: (["HParams(num_layers=4, num_units=64, optimizer='ADAM', le...
FAILED test/test_issue_48.py::test_issue_48 - AssertionError:
FAILED test/test_subgroups.py::test_help_string[AB-get_help_text_args1-should_contain1] - assert '--a_or_b {a,b} (default: a)' in "usage: __main__.py [-h] [--a...
FAILED test/test_subgroups.py::test_help_string[MultipleSubgroupsDifferentLevel-get_help_text_args4-should_contain4] - assert '--e bool' in "usage: __main__.py [-h] [--ab_or_cd {ab,cd}] [--e_or_...
FAILED test/test_subgroups.py::test_help_string_displays_default_factory_arguments[a_factory0-b_factory0] - assert '--a float (default: 321)' in "usage: __main__.py [-h] [--a_or_b {a...
FAILED test/test_subgroups.py::test_help_string_displays_default_factory_arguments[a_factory1-b_factory1] - assert '--a float (default: 321)' in "usage: __main__.py [-h] [--a_or_b {a...
FAILED test/test_subgroups.py::test_help_string_displays_default_factory_arguments[a_factory2-b_factory2] - assert '--a float (default: 111)' in "usage: __main__.py [-h] [--a_or_b {a...
FAILED test/test_subgroups.py::test_subgroup_partial_with_nested_field - assert '--a int (default: 123)' in "usage: __main__.py [-h] [--foo {s...
= 15 failed, 1264 passed, 11 skipped, 96 xfailed, 9 xpassed, 2 warnings in 17.59s =Full logs: https://paste.glepage.com/raw/sloth-bear-raven
Desktop (please complete the following information):
- Version: 0.1.7
- OS: NixOS
- Python version: 3.12
Additional context
Bumping SimpleParsing in nixpkgs: NixOS/nixpkgs#375473
Metadata
Metadata
Assignees
Labels
No labels