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

Method test_string_NULL

numpy/core/tests/test_regression.py:721–724  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

719 np.array([(256, (0, 256, 512))], r.dtype))
720
721 def test_string_NULL(self):
722 # Changeset 3557
723 assert_equal(np.array("a\x00\x0b\x0c\x00").item(),
724 'a\x00\x0b\x0c')
725
726 def test_junk_in_string_fields_of_recarray(self):
727 # Ticket #483

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
itemMethod · 0.80

Tested by

no test coverage detected