(self)
| 364 | # Pickling raises an exception; there's no way to serialize an lzma_stream. |
| 365 | |
| 366 | def test_pickle(self): |
| 367 | for proto in range(pickle.HIGHEST_PROTOCOL + 1): |
| 368 | with self.assertRaises(TypeError): |
| 369 | pickle.dumps(LZMACompressor(), proto) |
| 370 | with self.assertRaises(TypeError): |
| 371 | pickle.dumps(LZMADecompressor(), proto) |
| 372 | |
| 373 | @support.refcount_test |
| 374 | def test_refleaks_in_decompressor___init__(self): |
nothing calls this directly
no test coverage detected