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

Method test_write_empty_fields

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

Source from the content-addressed store, hash-verified

322
323 @unittest.expectedFailure # TODO: RUSTPYTHON
324 def test_write_empty_fields(self):
325 self._write_test((), '')
326 self._write_test([''], '""')
327 self._write_error_test(csv.Error, [''], quoting=csv.QUOTE_NONE)
328 self._write_test([''], '""', quoting=csv.QUOTE_STRINGS)
329 self._write_test([''], '""', quoting=csv.QUOTE_NOTNULL)
330 self._write_test([None], '""')
331 self._write_error_test(csv.Error, [None], quoting=csv.QUOTE_NONE)
332 self._write_error_test(csv.Error, [None], quoting=csv.QUOTE_STRINGS)
333 self._write_error_test(csv.Error, [None], quoting=csv.QUOTE_NOTNULL)
334 self._write_test(['', ''], ',')
335 self._write_test([None, None], ',')
336
337 @unittest.expectedFailure # TODO: RUSTPYTHON
338 def test_write_empty_fields_space_delimiter(self):

Callers

nothing calls this directly

Calls 2

_write_testMethod · 0.95
_write_error_testMethod · 0.95

Tested by

no test coverage detected