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

Method test_gzip_csv

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

Source from the content-addressed store, hash-verified

97 self.seq.csv_dict_reader(1)
98
99 def test_gzip_csv(self):
100 result = self.seq.csv("functional/test/data/test.csv.gz").to_list()
101 expect = [["1", "2", "3", "4"], ["a", "b", "c", "d"]]
102 self.assertEqual(expect, result)
103 with self.assertRaises(ValueError):
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()

Callers

nothing calls this directly

Calls 2

to_listMethod · 0.80
csvMethod · 0.80

Tested by

no test coverage detected