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

Method test_ascii

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

Source from the content-addressed store, hash-verified

5606 sep=' ')
5607
5608 def test_ascii(self, tmp_filename, decimal_sep_localization):
5609 self._check_from(
5610 b'1 , 2 , 3 , 4', [1., 2., 3., 4.], tmp_filename, sep=',')
5611 self._check_from(
5612 b'1,2,3,4', [1., 2., 3., 4.], tmp_filename, dtype=float, sep=',')
5613
5614 def test_malformed(self, tmp_filename, decimal_sep_localization):
5615 with assert_warns(DeprecationWarning):

Callers

nothing calls this directly

Calls 1

_check_fromMethod · 0.95

Tested by

no test coverage detected