summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_decimal.py
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2020-08-15 18:19:07 (GMT)
committerGitHub <noreply@github.com>2020-08-15 18:19:07 (GMT)
commit39dab24621122338d01c1219bb0acc46ba9c9956 (patch)
tree2856a2896366e59434bb23aaa04d199c9a0eacb3 /Lib/test/test_decimal.py
parent495bd035662fda29639f9d52bb6baebea31d72fa (diff)
downloadcpython-39dab24621122338d01c1219bb0acc46ba9c9956.zip
cpython-39dab24621122338d01c1219bb0acc46ba9c9956.tar.gz
cpython-39dab24621122338d01c1219bb0acc46ba9c9956.tar.bz2
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.
Diffstat (limited to 'Lib/test/test_decimal.py')
-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 113b37d..dbd58e8 100644
--- a/Lib/test/test_decimal.py
+++ b/Lib/test/test_decimal.py
@@ -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