Skip to content

Commit 28bf826

Browse files
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 39dab24) Authored-by: Stefan Krah <[email protected]>
1 parent 1864eac commit 28bf826

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Lib/test/test_decimal.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5478,6 +5478,9 @@ def __abs__(self):
54785478
self.assertEqual(Decimal.from_float(cls(101.1)),
54795479
Decimal.from_float(101.1))
54805480

5481+
# Issue 41540:
5482+
@unittest.skipIf(sys.platform.startswith("aix"),
5483+
"AIX: default ulimit: test is flaky because of extreme over-allocation")
54815484
def test_maxcontext_exact_arith(self):
54825485

54835486
# Make sure that exact operations do not raise MemoryError due

0 commit comments

Comments
 (0)