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

Method test_reader_arg_valid

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

Source from the content-addressed store, hash-verified

88 quotechar='\x85', lineterminator='\x85')
89
90 def test_reader_arg_valid(self):
91 self._test_arg_valid(csv.reader, [])
92 self.assertRaises(OSError, csv.reader, BadIterable())
93
94 def test_writer_arg_valid(self):
95 self._test_arg_valid(csv.writer, StringIO())

Callers

nothing calls this directly

Calls 3

_test_arg_validMethod · 0.95
BadIterableClass · 0.70
assertRaisesMethod · 0.45

Tested by

no test coverage detected