summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-08-15 18:40:14 (GMT)
committerGitHub <noreply@github.com>2020-08-15 18:40:14 (GMT)
commit28bf82661ac9dfaf1b2d0fd0ac98fc0b31cd95bb (patch)
treedf57580726f231b858bf74424518d111425f56f9
parent1864eacc22485b26c0ec0a059c9330f877861afb (diff)
downloadcpython-28bf82661ac9dfaf1b2d0fd0ac98fc0b31cd95bb.zip
cpython-28bf82661ac9dfaf1b2d0fd0ac98fc0b31cd95bb.tar.gz
cpython-28bf82661ac9dfaf1b2d0fd0ac98fc0b31cd95bb.tar.bz2
bpo-41540: AIX: skip test that is flaky with a default ulimit. (GH-21890) (#21893)
- 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>
-rw-r--r--Lib/test/test_decimal.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_decimal.py b/Lib/test/test_decimal.py
index ed483a4..fd62f37 100644
--- a/Lib/test/test_decimal.py
+++ b/Lib/test/test_decimal.py
@@ -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