Open trim21 opened 2 months ago
There are several test cases broken on windows.
coverage failed because this:
https://github.com/encode/httpx/blob/fa6dac8383541669f42086d4f07c71b0f8d6a279/httpx/_multipart.py#L127-L134
io.StringIO is a subclass of io.TextIOBase
io.StringIO
io.TextIOBase
I just use pytest's tmp_path to create a real file on disk. pytest will clean it up after test.
Summary
There are several test cases broken on windows.
Checklist