MCPcopy Create free account
hub / github.com/EntilZha/PyFunctional / test_bz2_csv

Method test_bz2_csv

functional/test/test_streams.py:106–111  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

104 self.seq.csv(1)
105
106 def test_bz2_csv(self):
107 result = self.seq.csv("functional/test/data/test.csv.bz2").to_list()
108 expect = [["1", "2", "3", "4"], ["a", "b", "c", "d"]]
109 self.assertEqual(expect, result)
110 with self.assertRaises(ValueError):
111 self.seq.csv(1)
112
113 def test_xz_csv(self):
114 result = self.seq.csv("functional/test/data/test.csv.xz").to_list()

Callers

nothing calls this directly

Calls 2

to_listMethod · 0.80
csvMethod · 0.80

Tested by

no test coverage detected