Skip to content

Test test_input_string_transform_factory_removes_thousands_separator_and_is_float_aware_with_LOCALE_and_FLOAT_example is failing on last release 5.3.3 #65

Closed
@agustinhenze

Description

Hi there, I'm the debian maintainer of this module :). I was packaging last version and I can repeat in a controlled environment the test mentioned on the subject is failing for both Python versions. Python2.7 and Python3.6.

=================================== FAILURES ===================================
 test_input_string_transform_factory_removes_thousands_separator_and_is_float_aware_with_LOCALE_and_FLOAT_example 
test_natsort/test_input_string_transform_factory.py:126: in test_input_string_transform_factory_removes_thousands_separator_and_is_float_aware_with_LOCALE_and_FLOAT_example
    assert _input_string_transform_factory(ns.LOCALE | ns.FLOAT)(x) == '12543642642.534,534980'
E   AssertionError: assert '12,543,642,642.534,534,980' == '12543642642.534,534980'
E     - 12,543,642,642.534,534,980
E     ?   -   -   -           -
E     + 12543642642.534,534980

You can see the detailed log here

https://salsa.debian.org/debian/natsort/-/jobs/40303

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions