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

Stefan Krah webhook-mailer at python.org
Sat Aug 15 14:19:16 EDT 2020


https://github.com/python/cpython/commit/39dab24621122338d01c1219bb0acc46ba9c9956
commit: 39dab24621122338d01c1219bb0acc46ba9c9956
branch: master
author: Stefan Krah <skrah at bytereef.org>
committer: GitHub <noreply at github.com>
date: 2020-08-15T20:19:07+02:00
summary:

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.

files:
M Lib/test/test_decimal.py

diff --git a/Lib/test/test_decimal.py b/Lib/test/test_decimal.py
index 113b37ddaa9cd..dbd58e8a6519b 100644
--- a/Lib/test/test_decimal.py
+++ b/Lib/test/test_decimal.py
@@ -5661,6 +5661,9 @@ def __abs__(self):
             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



More information about the Python-checkins mailing list