(self)
| 1896 | f.read(10) |
| 1897 | |
| 1898 | def test_read_10(self): |
| 1899 | with ZstdFile(io.BytesIO(COMPRESSED_100_PLUS_32KB)) as f: |
| 1900 | chunks = [] |
| 1901 | while True: |
| 1902 | result = f.read(10) |
| 1903 | if not result: |
| 1904 | break |
| 1905 | self.assertLessEqual(len(result), 10) |
| 1906 | chunks.append(result) |
| 1907 | self.assertEqual(b"".join(chunks), DECOMPRESSED_100_PLUS_32KB) |
| 1908 | |
| 1909 | def test_read_multistream(self): |
| 1910 | with ZstdFile(io.BytesIO(COMPRESSED_100_PLUS_32KB * 5)) as f: |
nothing calls this directly
no test coverage detected