MCPcopy Create free account
hub / github.com/celery/celery / test_hfloat

Function test_hfloat

t/unit/utils/test_debug.py:50–51  ·  view source on GitHub ↗
(f, precision, expected)

Source from the content-addressed store, hash-verified

48 (10.45645234234, 5, '10.456'),
49])
50def test_hfloat(f, precision, expected):
51 assert str(debug.hfloat(f, precision)) == expected
52
53
54@pytest.mark.parametrize('byt,expected', [

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected