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

Method test_malformed

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

Source from the content-addressed store, hash-verified

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):
5616 self._check_from(
5617 b'1.234 1,234', [1.234, 1.], tmp_filename, sep=' ')
5618
5619 def test_long_sep(self, tmp_filename):
5620 self._check_from(

Callers

nothing calls this directly

Calls 2

_check_fromMethod · 0.95
assert_warnsFunction · 0.90

Tested by

no test coverage detected