Minor clean-up (#1078)

- Remove default arguments to `open()`.
- Make use of `pytest` mechanisms for temporary folders.
This commit is contained in:
Mickaël Schoentgen
2021-05-29 12:06:06 +02:00
committed by GitHub
parent 611b278b63
commit a61f9e1114
8 changed files with 38 additions and 43 deletions

View File

@@ -53,7 +53,8 @@ def test_chunked_stdin(httpbin_with_chunked_support):
def test_chunked_stdin_multiple_chunks(httpbin_with_chunked_support):
stdin_bytes = FILE_PATH.read_bytes() + b'\n' + FILE_PATH.read_bytes()
data = FILE_PATH.read_bytes()
stdin_bytes = data + b'\n' + data
r = http(
'--verbose',
'--chunked',