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

Method test_singleton

numpy/core/tests/test_getlimits.py:21–24  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

19
20class TestHalf:
21 def test_singleton(self):
22 ftype = finfo(half)
23 ftype2 = finfo(half)
24 assert_equal(id(ftype), id(ftype2))
25
26class TestSingle:
27 def test_singleton(self):

Callers

nothing calls this directly

Calls 2

finfoClass · 0.90
assert_equalFunction · 0.90

Tested by

no test coverage detected