equal
deleted
inserted
replaced
1676 cctx.multi_compress_to_buffer((1, 2)) |
1676 cctx.multi_compress_to_buffer((1, 2)) |
1677 |
1677 |
1678 with self.assertRaisesRegex( |
1678 with self.assertRaisesRegex( |
1679 TypeError, "item 0 not a bytes like object" |
1679 TypeError, "item 0 not a bytes like object" |
1680 ): |
1680 ): |
1681 cctx.multi_compress_to_buffer([u"foo"]) |
1681 cctx.multi_compress_to_buffer(["foo"]) |
1682 |
1682 |
1683 def test_empty_input(self): |
1683 def test_empty_input(self): |
1684 cctx = zstd.ZstdCompressor() |
1684 cctx = zstd.ZstdCompressor() |
1685 |
1685 |
1686 if not hasattr(cctx, "multi_compress_to_buffer"): |
1686 if not hasattr(cctx, "multi_compress_to_buffer"): |