Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix patching of
io.TextWrapper
in tests
`patch("io.TextIOWrapper")` wouldn't actually cause `io.TextIOWrrapper()` to return the `StringIO` object created by the test. This stated to fail as soon as `content=` is non-empty.
- Loading branch information