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