]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-41540: AIX: skip test that is flaky with a default ulimit. (GH-21890) (#21893)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 15 Aug 2020 18:40:14 +0000 (11:40 -0700)
committerGitHub <noreply@github.com>
Sat, 15 Aug 2020 18:40:14 +0000 (20:40 +0200)
- AIX has extreme over-allocation that is in no relation to the physical
    RAM and swap.

(cherry picked from commit 39dab24621122338d01c1219bb0acc46ba9c9956)

Authored-by: Stefan Krah <skrah@bytereef.org>
Lib/test/test_decimal.py

index ed483a470952751197899659141499ad33104ccc..fd62f37de18736b019e6fad9f33c831d2e4ca266 100644 (file)
@@ -5478,6 +5478,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