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

Method test_counted_string

numpy/core/tests/test_multiarray.py:5591–5597  ·  view source on GitHub ↗
(self, tmp_filename, decimal_sep_localization)

Source from the content-addressed store, hash-verified

5589 self._check_from(b'1,2,3,4', [1., 2., 3., 4.], tmp_filename, sep=',')
5590
5591 def test_counted_string(self, tmp_filename, decimal_sep_localization):
5592 self._check_from(
5593 b'1,2,3,4', [1., 2., 3., 4.], tmp_filename, count=4, sep=',')
5594 self._check_from(
5595 b'1,2,3,4', [1., 2., 3.], tmp_filename, count=3, sep=',')
5596 self._check_from(
5597 b'1,2,3,4', [1., 2., 3., 4.], tmp_filename, count=-1, sep=',')
5598
5599 def test_string_with_ws(self, tmp_filename):
5600 self._check_from(

Callers

nothing calls this directly

Calls 1

_check_fromMethod · 0.95

Tested by

no test coverage detected