示例#1
0
def test_tqdm_format_num(input_num, expected):
    """ Check that the specialized tqdm.format_num appends 0 to floats and strings """
    assert tqdm.format_num(input_num) == expected
示例#2
0
def test_tqdm_format_num(input_num: Union[str, int, float], expected: str):
    """ Check that the specialized tqdm.format_num appends 0 to floats and strings """
    assert tqdm.format_num(input_num) == expected