vcrpy
vcrpy copied to clipboard
Port aiohttp unread_data to support stream reads
- Addresses #502
- The original test actually identified the issue, so for this change it only needed to returned to the correct output
- A user will only encounter "unread" data on initial recording if they use the Streaming API, which fails today, so it leaves the primary aiohttp unchanged
FYI this change appears to be running into the Black/E203 conflict, and I opted for the Black style: https://github.com/psf/black#slices
+1 for finding and fixing this! I just spent ages trying to understand why my streaming responses were empty when using vcrpy. Any chance of pushing it over the line?
Gotta say this one is over my head, but there seems to be some interest. Any way we can get CI to pass?
See my patches in https://github.com/dask/gcsfs/blob/master/gcsfs/tests/conftest.py , they may help you
@mikemoritz were you ever able to check the CI failure on this?