]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-41540: AIX: skip test that is flaky with a default ulimit. (#21890)
authorStefan Krah <skrah@bytereef.org>
Sat, 15 Aug 2020 18:19:07 +0000 (20:19 +0200)
committerGitHub <noreply@github.com>
Sat, 15 Aug 2020 18:19:07 +0000 (20:19 +0200)
- AIX has extreme over-allocation that is in no relation to the physical
    RAM and swap.

Lib/test/test_decimal.py

index 113b37ddaa9cd65f44eb23c0efc9199638edea5a..dbd58e8a6519b1907f7be8228002cae1d3659af7 100644 (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