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

Method test_write_bigfield

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

Source from the content-addressed store, hash-verified

206 raise OSError
207 self._write_error_test(OSError, [BadItem()])
208 def test_write_bigfield(self):
209 # This exercises the buffer realloc functionality
210 bigstring = 'X' * 50000
211 self._write_test([bigstring,bigstring], '%s,%s' % \
212 (bigstring, bigstring))
213
214 def test_write_quoting(self):
215 self._write_test(['a',1,'p,q'], 'a,1,"p,q"')

Callers

nothing calls this directly

Calls 1

_write_testMethod · 0.95

Tested by

no test coverage detected