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

Method test_string_NULL

numpy/_core/tests/test_regression.py:734–737  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

732 np.array([(256, (0, 256, 512))], r.dtype))
733
734 def test_string_NULL(self):
735 # Changeset 3557
736 assert_equal(np.array("a\x00\x0b\x0c\x00").item(),
737 'a\x00\x0b\x0c')
738
739 def test_junk_in_string_fields_of_recarray(self):
740 # Ticket #483

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
itemMethod · 0.80

Tested by

no test coverage detected