File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 3131 <https://github.com/omni-us/jsonargparse/pull/668> `__)
3232- Functions that create types now have ``TypeAlias `` return type to avoid mypy
3333 errors (`#671 <https://github.com/omni-us/jsonargparse/pull/671 >`__).
34+ - Bug when parsing strings with digits and a starting or ending 'e' (`#672
35+ <https://github.com/omni-us/jsonargparse/pull/673> `__).
3436
3537
3638v4.36.0 (2025-01-17)
Original file line number Diff line number Diff line change @@ -91,6 +91,12 @@ def test_dump_header_invalid(parser):
9191 parser .dump_header = True
9292
9393
94+ def test_load_value_digits_and_e ():
95+ with parser_context (load_value_mode = "yaml" ):
96+ assert "e123" == load_value ("e123" )
97+ assert "123e" == load_value ("123e" )
98+
99+
94100@skip_if_no_pyyaml
95101def test_load_value_dash ():
96102 with parser_context (load_value_mode = "yaml" ):
You can’t perform that action at this time.
0 commit comments