コード例 #1
0
ファイル: lz4_test.py プロジェクト: jerryryle/python-lz4ex
 def test_compress_bound_invalid(self):
     with self.assertRaises(ValueError):
         # 0x7E000000 is currently the max allowed by lz4
         lz4.compress_bound(0x7E000000+1)
コード例 #2
0
 def test_compress_bound_invalid(self):
     with self.assertRaises(ValueError):
         # 0x7E000000 is currently the max allowed by lz4
         lz4.compress_bound(0x7E000000 + 1)
コード例 #3
0
ファイル: lz4_test.py プロジェクト: jerryryle/python-lz4ex
 def test_compress_bound(self):
     # The value of 17 could change with future versions of lz4.
     self.assertEqual(lz4.compress_bound(1), 17)
コード例 #4
0
 def test_compress_bound(self):
     # The value of 17 could change with future versions of lz4.
     self.assertEqual(lz4.compress_bound(1), 17)