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

Method test_singleton

numpy/_core/tests/test_getlimits.py:35–38  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

33
34class TestDouble:
35 def test_singleton(self):
36 ftype = finfo(double)
37 ftype2 = finfo(double)
38 assert_equal(id(ftype), id(ftype2))
39
40class TestLongdouble:
41 def test_singleton(self):

Callers

nothing calls this directly

Calls 2

finfoClass · 0.90
assert_equalFunction · 0.90

Tested by

no test coverage detected