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 4774421 commit 2446870Copy full SHA for 2446870
1 file changed
Lib/test/test_resource.py
@@ -138,7 +138,7 @@ def expected(cur):
138
self.assertEqual(resource.getrlimit(resource.RLIMIT_FSIZE), (2**32-5, max))
139
140
resource.setrlimit(resource.RLIMIT_FSIZE, (2**63-5, max))
141
- self.assertEqual(resource.getrlimit(resource.RLIMIT_FSIZE), (2**63-5, max))
+ self.assertIn(resource.getrlimit(resource.RLIMIT_FSIZE), expected(2**63-5))
142
try:
143
resource.setrlimit(resource.RLIMIT_FSIZE, (2**63, max))
144
except ValueError:
0 commit comments