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

Method _read_test

Lib/test/test_csv.py:365–368  ·  view source on GitHub ↗
(self, input, expect, **kwargs)

Source from the content-addressed store, hash-verified

363 self.assertRaises(OSError, writer.writerows, BadIterable())
364
365 def _read_test(self, input, expect, **kwargs):
366 reader = csv.reader(input, **kwargs)
367 result = list(reader)
368 self.assertEqual(result, expect)
369
370 def test_read_oddinputs(self):
371 self._read_test([], [])

Callers 10

test_read_oddinputsMethod · 0.95
test_read_eolMethod · 0.95
test_read_eofMethod · 0.95
test_read_nulMethod · 0.95
test_read_delimiterMethod · 0.95
test_read_escapeMethod · 0.95
test_read_quotingMethod · 0.95
test_read_bigfieldMethod · 0.95

Calls 3

listClass · 0.85
readerMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected