Description: Blacklist test on armhf
Author: Thomas Goirand <zigo@debian.org>
Bug-Debian: https://bugs.debian.org/1121889
Forwarded: no
Last-Update: 2025-12-05

--- python-greenlet-3.2.4.orig/src/greenlet/tests/test_leaks.py
+++ python-greenlet-3.2.4/src/greenlet/tests/test_leaks.py
@@ -4,7 +4,9 @@ Testing scenarios that may have leaked.
 """
 from __future__ import print_function, absolute_import, division
 
+import os
 import sys
+import unittest
 import gc
 
 import time
@@ -441,6 +443,7 @@ class TestLeaks(TestCase):
         uss_after = self.get_process_uss()
         self.assertLessEqual(uss_after, uss_before, "after attempts %d" % (count,))
 
+    @unittest.skipIf(os.environ.get("SKIP_ARMHF_TESTS") == "1", "Skipping flaky test on armhf")
     @ignores_leakcheck
     # Because we're just trying to track raw memory, not objects, and running
     # the leakcheck makes an already slow test slower.
