Skip to content

Commit

Permalink
test_issue_1089: update wording regarding pypdfium2
Browse files Browse the repository at this point in the history
See jsvine#1089 (comment) for background
  • Loading branch information
mara004 authored Feb 2, 2025
1 parent c562774 commit 5d47d5a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,10 +285,11 @@ def test_issue_982(self):

def test_issue_1089(self):
"""
Page.to_image() leaks file descriptors
Page.to_image() binds file descriptors.
This is because PyPdfium2 leaks file descriptors. Explicitly
close the `PdfDocument` to prevent this.
This is because pypdfium2 binds file descriptors, and garbage collection may
be too lazy. Explicitly close the `PdfDocument` to prevent running out of file
descriptors.
"""
# Skip test on platforms without getrlimit
if resource is None:
Expand Down

0 comments on commit 5d47d5a

Please sign in to comment.