(self)
| 1966 | f.read(10) |
| 1967 | |
| 1968 | def test_read1(self): |
| 1969 | with ZstdFile(io.BytesIO(DAT_130K_C)) as f: |
| 1970 | blocks = [] |
| 1971 | while True: |
| 1972 | result = f.read1() |
| 1973 | if not result: |
| 1974 | break |
| 1975 | blocks.append(result) |
| 1976 | self.assertEqual(b"".join(blocks), DAT_130K_D) |
| 1977 | self.assertEqual(f.read1(), b"") |
| 1978 | |
| 1979 | def test_read1_0(self): |
| 1980 | with ZstdFile(io.BytesIO(COMPRESSED_DAT)) as f: |
nothing calls this directly
no test coverage detected