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

Method test_disable_compression

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

Source from the content-addressed store, hash-verified

51 )
52
53 def test_disable_compression(self):
54 file_name = "functional/test/data/test.txt.gz"
55 with open(file_name, "rb") as f:
56 expect = f.readlines()
57 self.assertListEqual(
58 expect, self.seq_c_disabled.open(file_name, mode="rb").to_list()
59 )
60
61 def test_range(self):
62 self.assertListEqual([0, 1, 2, 3], self.seq.range(4).to_list())

Callers

nothing calls this directly

Calls 2

to_listMethod · 0.80
openMethod · 0.80

Tested by

no test coverage detected