Running the Litestar tests with -W error
reveals several pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function SpooledTemporaryFile.__del__
:
================================================================================ short test summary info ================================================================================
FAILED tests/unit/test_kwargs/test_multipart_data.py::test_multipart_request_files - pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function SpooledTemporaryFile.__del__ at 0x10189cd60>
FAILED tests/unit/test_kwargs/test_multipart_data.py::test_multipart_request_files_with_content_type - pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function SpooledTemporaryFile.__del__ at 0x10189cd60>
FAILED tests/unit/test_kwargs/test_multipart_data.py::test_multipart_request_multiple_files - pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function SpooledTemporaryFile.__del__ at 0x10189cd60>
FAILED tests/unit/test_kwargs/test_multipart_data.py::test_multipart_request_multiple_files_with_headers - pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function SpooledTemporaryFile.__del__ at 0x10189cd60>
FAILED tests/unit/test_kwargs/test_multipart_data.py::test_multi_items - pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function SpooledTemporaryFile.__del__ at 0x10189cd60>
FAILED tests/unit/test_kwargs/test_multipart_data.py::test_multipart_request_mixed_files_and_data - pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function SpooledTemporaryFile.__del__ at 0x10189cd60>
FAILED tests/unit/test_kwargs/test_multipart_data.py::test_multipart_request_with_charset_for_filename - pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function SpooledTemporaryFile.__del__ at 0x10189cd60>
FAILED tests/unit/test_kwargs/test_multipart_data.py::test_multipart_request_without_charset_for_filename - pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function SpooledTemporaryFile.__del__ at 0x10189cd60>
FAILED tests/unit/test_kwargs/test_multipart_data.py::test_multipart_request_with_asterisks_filename - pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function SpooledTemporaryFile.__del__ at 0x10189cd60>
FAILED tests/unit/test_kwargs/test_multipart_data.py::test_postman_multipart_form_data - pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function SpooledTemporaryFile.__del__ at 0x10189cd60>
FAILED tests/unit/test_kwargs/test_multipart_data.py::test_upload_multiple_files[2-True] - pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function SpooledTemporaryFile.__del__ at 0x10189cd60>
FAILED tests/unit/test_kwargs/test_multipart_data.py::test_upload_multiple_files[2-False] - pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function SpooledTemporaryFile.__del__ at 0x10189cd60>
FAILED tests/unit/test_kwargs/test_multipart_data.py::test_upload_multiple_files_in_model[1-Files] - pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function SpooledTemporaryFile.__del__ at 0x10189cd60>
FAILED tests/unit/test_kwargs/test_multipart_data.py::test_upload_multiple_files_in_model[1-OptionalFiles] - pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function SpooledTemporaryFile.__del__ at 0x10189cd60>
FAILED tests/unit/test_kwargs/test_multipart_data.py::test_upload_multiple_files_in_model[2-Files] - pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function SpooledTemporaryFile.__del__ at 0x10189cd60>
FAILED tests/unit/test_kwargs/test_multipart_data.py::test_upload_multiple_files_in_model[2-OptionalFiles] - pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function SpooledTemporaryFile.__del__ at 0x10189cd60>
============================================================================= 16 failed, 21 passed in 0.75s =============================================================================
No response
# Your MCVE code here
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
"![SCREENSHOT_DESCRIPTION](SCREENSHOT_LINK.png)"
No response
main
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too