MCPcopy
hub / github.com/scrapy/scrapy / _check_output

Method _check_output

tests/test_exporters.py:284–288  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

282 assert split_csv(first) == split_csv(second), msg
283
284 def _check_output(self):
285 self.output.seek(0)
286 self.assertCsvEqual(
287 to_unicode(self.output.read()), "age,name\r\n22,John\xa3\r\n"
288 )
289
290 def assertExportResult(self, item, expected, **kwargs):
291 fp = BytesIO()

Callers

nothing calls this directly

Calls 3

assertCsvEqualMethod · 0.95
to_unicodeFunction · 0.90
readMethod · 0.80

Tested by

no test coverage detected