-
Notifications
You must be signed in to change notification settings - Fork 44
Closed
Description
Running tests on a build of 3.14 beta 1 (plus some upcoming changes), I get the following test failures:
FAILED tests/test_subparser.py::TestSubparser::test_add_subparser_twice - ValueError: conflicting subparser: a
FAILED tests/test_subparser.py::TestSubparser::test_add_subparsers_twice - ValueError: cannot have multiple subparser arguments
FAILED tests/test_to_tap_class.py::test_subclasser_complex_help_message[function] - AssertionError: assert 'usage: pytes...sage and exit' == 'usage: pytes...sage and exit'
FAILED tests/test_to_tap_class.py::test_subclasser_complex_help_message[Class] - AssertionError: assert 'usage: pytes...sage and exit' == 'usage: pytes...sage and exit'
FAILED tests/test_to_tap_class.py::test_subclasser_complex_help_message[_Args] - AssertionError: assert 'usage: pytes...sage and exit' == 'usage: pytes...sage and exit'
FAILED tests/test_to_tap_class.py::test_subclasser_complex_help_message[class_or_function_3] - AssertionError: assert 'usage: pytes...sage and exit' == 'usage: pytes...sage and exit'
FAILED tests/test_utils.py::TypeToStrTests::test_type_to_str - AssertionError: 'List[int] | Dict[float, bool]' != 'Union[List[int], Dict[float, bool]]'
Most appear to be due to https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-typing-union, where now repr(Union[int, str]) == "int | str"
, but the first two look like some argparse change; I haven't investigated further.
I might send a patch for the Union issue later but no guarantee.
Metadata
Metadata
Assignees
Labels
No labels