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

Class BadItem

Lib/test/test_csv.py:204–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202 raise OSError
203 self._write_error_test(OSError, BadList())
204 class BadItem:
205 def __str__(self):
206 raise OSError
207 self._write_error_test(OSError, [BadItem()])
208 def test_write_bigfield(self):
209 # This exercises the buffer realloc functionality

Callers 1

test_write_arg_validMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_write_arg_validMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…