Opened at 2021-05-13T15:03:48Z
Closed at 2021-05-24T13:15:35Z
#3715 closed task (fixed)
Add integration tests for file get and put variations, especially stdin/stdout
Reported by: | itamarst | Owned by: | itamarst |
---|---|---|---|
Priority: | normal | Milestone: | Support Python 3 |
Component: | unknown | Version: | n/a |
Keywords: | Cc: | ||
Launchpad Bug: |
Description
- Unicode vs. bytes is one of the harder parts of the port.
- Unit testing stdin/stdout interactions is likely to be quite fragile, given both quite different semantics on Python 2 and 3, and need to emulate things like stdin/stdout.
As such, integration tests of tahoe get and tahoe put with (a) binary files and (b) stdin/stdout usage seems like a good idea, even with nominally good unit test coverage.
Change History (2)
comment:1 Changed at 2021-05-21T15:24:56Z by itamarst
comment:2 Changed at 2021-05-24T13:15:35Z by GitHub <noreply@…>
- Resolution set to fixed
- Status changed from new to closed
In 05a1349/trunk:
Note: See
TracTickets for help on using
tickets.
Python has a pipes module, but it does the stupid thing on Python 3 where it assumes unicode files. So going to do it manually.