This repository was archived by the owner on Sep 26, 2022. It is now read-only.

Description
Background
- An infinite loop occurs, while reading a file object chunk by chunk in the line shown below.
- The reason of the infinite loop is that the senitel character of the iter method is not correct. It should be
b'', instead of ' '.
|
for chunk in iter(lambda: fileobj.read(10000), ''): |
Acceptance Criteria
- Fixed the error
- Add unit tests regarding this method