MCPcopy Index your code
hub / github.com/numpy/numpy / test_str_roundtrip_bytes

Function test_str_roundtrip_bytes

numpy/_core/tests/test_longdouble.py:51–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49
50@pytest.mark.skipif(string_to_longdouble_inaccurate, reason="Need strtold_l")
51def test_str_roundtrip_bytes():
52 o = 1 + LD_INFO.eps
53 assert_equal(np.longdouble(str(o).encode("ascii")), o)
54
55
56@pytest.mark.skipif(string_to_longdouble_inaccurate, reason="Need strtold_l")

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
encodeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…