MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_read_skipinitialspace

Method test_read_skipinitialspace

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

Source from the content-addressed store, hash-verified

476
477 @unittest.skip("TODO: RUSTPYTHON; slice index starts at 1 but ends at 0")
478 def test_read_skipinitialspace(self):
479 self._read_test(['no space, space, spaces,\ttab'],
480 [['no space', 'space', 'spaces', '\ttab']],
481 skipinitialspace=True)
482 self._read_test([' , , '],
483 [['', '', '']],
484 skipinitialspace=True)
485 self._read_test([' , , '],
486 [[None, None, None]],
487 skipinitialspace=True, quoting=csv.QUOTE_NOTNULL)
488 self._read_test([' , , '],
489 [[None, None, None]],
490 skipinitialspace=True, quoting=csv.QUOTE_STRINGS)
491
492 @unittest.expectedFailure # TODO: RUSTPYTHON
493 def test_read_space_delimiter(self):

Callers

nothing calls this directly

Calls 1

_read_testMethod · 0.95

Tested by

no test coverage detected