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