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

Method test_gzip_jsonl

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

Source from the content-addressed store, hash-verified

126 self.assertEqual(expect_1, result_1)
127
128 def test_gzip_jsonl(self):
129 result_0 = self.seq.jsonl("functional/test/data/test.jsonl.gz").to_list()
130 expect_0 = [[1, 2, 3], {"a": 1, "b": 2, "c": 3}]
131 self.assertEqual(expect_0, result_0)
132
133 def test_bz2_jsonl(self):
134 result_0 = self.seq.jsonl("functional/test/data/test.jsonl.bz2").to_list()

Callers

nothing calls this directly

Calls 2

to_listMethod · 0.80
jsonlMethod · 0.80

Tested by

no test coverage detected