bpo-41540: AIX: skip test that is flaky with a default ulimit. (#21890)

- AIX has extreme over-allocation that is in no relation to the physical
    RAM and swap.
This commit is contained in:
Stefan Krah 2020-08-15 20:19:07 +02:00 committed by GitHub
parent 495bd03566
commit 39dab24621
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -5661,6 +5661,9 @@ class CWhitebox(unittest.TestCase):
self.assertEqual(Decimal.from_float(cls(101.1)),
Decimal.from_float(101.1))
# Issue 41540:
@unittest.skipIf(sys.platform.startswith("aix"),
"AIX: default ulimit: test is flaky because of extreme over-allocation")
def test_maxcontext_exact_arith(self):
# Make sure that exact operations do not raise MemoryError due