Replace py.io.TextIO with io.StringIO#6064
Conversation
In Python3, py.io.TextIO is just an alias to io.StringIO. Remove the indirection.
|
Thanks for this! |
Seems to perfectly fit the bill for |
|
Well, it was causing conflicts with typing changes (also from @bluetech IIRC). |
|
Also "trivial" is more like fixing some typo in my opinion, not changing imports in multiple files. |
|
this change literally does nothing, they are referrentially equal -- if this isn't trivial I don't know what is |
- make it clear that the text should be deleted, which is often not the case - resulting in handling it as incomplete TODOs - clarify targetting master/features and make it a single actionable item. Ref: pytest-dev#6064 (comment) - fix punctuation
|
=> #6104 |
In Python3,
py.io.TextIOis just an alias toio.StringIO. Remove the indirection.