chunkers.failing: fix docstring

This commit is contained in:
Thomas Waldmann 2025-11-20 01:29:21 +01:00
parent bb38a63596
commit 631ef99e3f
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01

View file

@ -12,7 +12,9 @@ class ChunkerFailing:
"""
This is a very simple chunker for testing purposes.
Reads block_size chunks, starts failing at block <fail_start>, <fail_count> failures, then succeeds.
Reads block_size chunks. The map parameter controls behavior per block:
'R' = successful read, 'E' = I/O Error. Blocks beyond the map length
will have the same behavior as the last map character.
"""
def __init__(self, block_size: int, map: str) -> None: