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

Method test_values0D

numpy/_core/tests/test_unicode.py:124–127  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

122 assert_(buffer_length(ua_scalar) == 2 * self.ulen)
123
124 def test_values0D(self):
125 # Check creation of 0-dimensional objects with values
126 ua = np.array(self.ucs_value * self.ulen, dtype=f'U{self.ulen}')
127 self.content_check(ua, ua[()], 4 * self.ulen)
128
129 def test_valuesSD(self):
130 # Check creation of single-dimensional objects with values

Callers

nothing calls this directly

Calls 1

content_checkMethod · 0.95

Tested by

no test coverage detected