MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_compressionLevel_values

Method test_compressionLevel_values

Lib/test/test_zstd.py:141–146  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

139 self.assertEqual(s, zstd_version)
140
141 def test_compressionLevel_values(self):
142 min, max = CompressionParameter.compression_level.bounds()
143 self.assertIs(type(COMPRESSION_LEVEL_DEFAULT), int)
144 self.assertIs(type(min), int)
145 self.assertIs(type(max), int)
146 self.assertLess(min, max)
147
148 def test_roundtrip_default(self):
149 raw_dat = THIS_FILE_BYTES[: len(THIS_FILE_BYTES) // 6]

Callers

nothing calls this directly

Calls 3

boundsMethod · 0.45
assertIsMethod · 0.45
assertLessMethod · 0.45

Tested by

no test coverage detected