All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Removed use of
attrs
.
TeeStdin
is now aslots=False
attrs class, to avoid errors arising from some manner of change in the vicinity of attrs v18.1/v18.2.
stdio_mgr
context manager with capability for mocking/wrapping all three ofstdin
/stdout
/stderr
stdin
mocking/wrapping is implemented with the customTeeStdin
, a subclass ofStringIO
, which tees all content read from itself into the mocked/wrappedstdout
TeeStdin
is extended fromStringIO
by an.append()
method, which adds content to the end of the stream without changing the current seek position.