MCPcopy Create free account
hub / github.com/numpy/numpy / test_locale_double

Method test_locale_double

numpy/_core/tests/test_print.py:196–197  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

194 assert_equal(str(np.float32(1.2)), str(1.2))
195
196 def test_locale_double(self):
197 assert_equal(str(np.double(1.2)), str(1.2))
198
199 @pytest.mark.skipif(IS_MUSL,
200 reason="test flaky on musllinux")

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
doubleMethod · 0.80

Tested by

no test coverage detected