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

Method test_no_delimiter

numpy/lib/tests/test__iotools.py:21–27  ·  view source on GitHub ↗

Test LineSplitter w/o delimiter

(self)

Source from the content-addressed store, hash-verified

19 "Tests the LineSplitter class."
20
21 def test_no_delimiter(self):
22 "Test LineSplitter w/o delimiter"
23 strg = " 1 2 3 4 5 # test"
24 test = LineSplitter()(strg)
25 assert_equal(test, ['1', '2', '3', '4', '5'])
26 test = LineSplitter('')(strg)
27 assert_equal(test, ['1', '2', '3', '4', '5'])
28
29 def test_space_delimiter(self):
30 "Test space delimiter"

Callers

nothing calls this directly

Calls 2

LineSplitterClass · 0.90
assert_equalFunction · 0.90

Tested by

no test coverage detected