==============================================================================
ERROR: tests/integrations/download/test_Download__file.py::test_content_connection_error
------------------------------------------------------------------------------
Downloading something.zip...
Traceback (most recent call last):
File "D:\a\briefcase\briefcase\tests\integrations\download\test_Download__file.py", line 363, in test_content_connection_error
mock_tools.download.file(
File "D:\a\briefcase\briefcase\.tox\py\Lib\site-packages\briefcase\integrations\download.py", line 85, in file
self._fetch_and_write_content(response, filename)
File "D:\a\briefcase\briefcase\.tox\py\Lib\site-packages\briefcase\integrations\download.py", line 116, in _fetch_and_write_content
temp_file.write(response.content)
File "C:\hostedtoolcache\windows\Python\3.12.0-alpha.7\x64\Lib\tempfile.py", line 483, in func_wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
TypeError: a bytes-like object is required, not 'MagicMock'
CI passes.
Describe the bug
CI test failure showed up today; wasn't happening on Python 3.12.0-alpha.6
Steps to reproduce
CI
Expected behavior
CI passes.
Screenshots
No response
Environment
0.3.14.dev78+g3f8b8979Logs
No response
Additional context
No response