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

Method test_singleton

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

Source from the content-addressed store, hash-verified

39
40class TestLongdouble:
41 def test_singleton(self):
42 ftype = finfo(longdouble)
43 ftype2 = finfo(longdouble)
44 assert_equal(id(ftype), id(ftype2))
45
46def assert_finfo_equal(f1, f2):
47 # assert two finfo instances have the same attributes

Callers

nothing calls this directly

Calls 2

finfoClass · 0.90
assert_equalFunction · 0.90

Tested by

no test coverage detected