Use StringIO to remove duplication
Previously we had to separate branches which did the same thing, one was for IOs and other was for strings. However, if we wrap the string into a StringIO, we can use the same branch for both.
Showing
Please
register
or
sign in
to comment