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

@ -40,4 +40,4 @@ def _httpbin_with_chunked_support_available():
def httpbin_with_chunked_support(_httpbin_with_chunked_support_available):
if _httpbin_with_chunked_support_available:
return HTTPBIN_WITH_CHUNKED_SUPPORT
pytest.skip('{} not resolvable'.format(HTTPBIN_WITH_CHUNKED_SUPPORT_DOMAIN))
pytest.skip(f'{HTTPBIN_WITH_CHUNKED_SUPPORT_DOMAIN} not resolvable')