MCPcopy Index your code
hub / github.com/python/cpython / test_read_space_delimiter

Method test_read_space_delimiter

Lib/test/test_csv.py:477–483  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

475 skipinitialspace=True, quoting=csv.QUOTE_STRINGS)
476
477 def test_read_space_delimiter(self):
478 self._read_test(['a b', ' a ', ' ', ''],
479 [['a', '', '', 'b'], ['', '', 'a', '', ''], ['', '', ''], []],
480 delimiter=' ', skipinitialspace=False)
481 self._read_test(['a b', ' a ', ' ', ''],
482 [['a', 'b'], ['a', ''], [''], []],
483 delimiter=' ', skipinitialspace=True)
484
485 def test_read_bigfield(self):
486 # This exercises the buffer realloc functionality and field size

Callers

nothing calls this directly

Calls 1

_read_testMethod · 0.95

Tested by

no test coverage detected