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

Method test_space_delimiter

numpy/lib/tests/test__iotools.py:29–35  ·  view source on GitHub ↗

Test space delimiter

(self)

Source from the content-addressed store, hash-verified

27 assert_equal(test, ['1', '2', '3', '4', '5'])
28
29 def test_space_delimiter(self):
30 "Test space delimiter"
31 strg = " 1 2 3 4 5 # test"
32 test = LineSplitter(' ')(strg)
33 assert_equal(test, ['1', '2', '3', '4', '', '5'])
34 test = LineSplitter(' ')(strg)
35 assert_equal(test, ['1 2 3 4', '5'])
36
37 def test_tab_delimiter(self):
38 "Test tab delimiter"

Callers

nothing calls this directly

Calls 2

LineSplitterClass · 0.90
assert_equalFunction · 0.90

Tested by

no test coverage detected