tests.test_humanize moduleΒΆ tests.test_humanize.test_format_size_iec(size, expected)[source]ΒΆ IEC binary units are the default. Return type: None tests.test_humanize.test_format_size_si(size, expected)[source]ΒΆ Return type: None tests.test_humanize.test_format_size_jedec(size, expected)[source]ΒΆ Return type: None tests.test_humanize.test_format_size_precision(size, precision, expected)[source]ΒΆ Return type: None tests.test_humanize.test_format_size_negative(size, expected)[source]ΒΆ Return type: None tests.test_humanize.test_format_size_unknown_units()[source]ΒΆ Return type: None tests.test_humanize.test_format_duration_seconds(seconds, expected)[source]ΒΆ Return type: None tests.test_humanize.test_format_duration_timedelta(duration, expected)[source]ΒΆ A timedelta renders the same as its total seconds. Return type: None