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
E pytest.PytestUnraisableExceptionWarning: Exception ignored in: <_io.FileIO [closed]>
E
E Traceback (most recent call last):
E File "E:\PyPDF4.git\PyPDF2\tests\test_writer.py", line 227, in test_writer_operations_by_traditional_usage
E write_data_here = convert(NamedTemporaryFile(suffix=".pdf", delete=needs_cleanup).name)
E ResourceWarning: unclosed file <_io.BufferedRandom name=15>
C:\Python310\lib\site-packages\_pytest\unraisableexception.py:78: PytestUnraisableExceptionWarning```
## Analysis
the temporary file created is not closed : it should be
The text was updated successfully, but these errors were encountered:
Environment
side effect of #2379
Code + PDF
Traceback
This is the complete traceback I see:
The text was updated successfully, but these errors were encountered: