You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 =============================================================================
URL to code causing the issue
No response
MCVE
# Your MCVE code here
Steps to reproduce
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
Description
Running the Litestar tests with
-W error
reveals severalpytest.PytestUnraisableExceptionWarning: Exception ignored in: <function SpooledTemporaryFile.__del__
:URL to code causing the issue
No response
MCVE
# Your MCVE code here
Steps to reproduce
Screenshots
"![SCREENSHOT_DESCRIPTION](SCREENSHOT_LINK.png)"
Logs
No response
Litestar Version
main
Platform
Note
While we are open for sponsoring on GitHub Sponsors and
OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.
Check out all issues funded or available for funding on our Polar.sh dashboard
The text was updated successfully, but these errors were encountered: