Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update based on suggestion
Co-authored-by: Petr Viktorin <encukou@gmail.com>
  • Loading branch information
Shrey-N and encukou authored Apr 7, 2026
commit 1808a8a38f75d4f4aeb662824c24bd7614784872
1 change: 1 addition & 0 deletions Lib/test/test_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def test_fsize_enforced(self):
# Close will attempt to flush the byte we wrote
# Restore limit first to avoid getting a spurious error
resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max_lim))
Comment thread
Shrey-N marked this conversation as resolved.

@unittest.skipIf(sys.platform == "vxworks",
"setting RLIMIT_FSIZE is not supported on VxWorks")
@unittest.skipUnless(hasattr(resource, 'RLIMIT_FSIZE'), 'requires resource.RLIMIT_FSIZE')
Expand Down
Loading