We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d21ceb8 commit 65b0b88Copy full SHA for 65b0b88
1 file changed
Lib/test/test_resource.py
@@ -66,9 +66,7 @@ def test_fsize_enforced(self):
66
67
self.addCleanup(os_helper.unlink, os_helper.TESTFN)
68
self.addCleanup(resource.setrlimit, resource.RLIMIT_FSIZE, (cur, max_lim))
69
-
70
resource.setrlimit(resource.RLIMIT_FSIZE, (1024, max_lim))
71
72
try:
73
with open(os_helper.TESTFN, "wb") as f:
74
f.write(b"X" * 1024)
0 commit comments