MCPcopy Create free account
hub / github.com/ipython/traitlets / test_float_from_string

Function test_float_from_string

tests/test_traitlets.py:2965–2966  ·  view source on GitHub ↗
(s, expected)

Source from the content-addressed store, hash-verified

2963 [("x", ValueError), ("1", 1.0), ("123.5", 123.5), ("2.5", 2.5), ("None", None)],
2964)
2965def test_float_from_string(s, expected):
2966 _from_string_test(Float, s, expected)
2967
2968
2969@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

_from_string_testFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…