1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
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
Index: python-greenlet/src/greenlet/tests/test_leaks.py
===================================================================
--- python-greenlet.orig/src/greenlet/tests/test_leaks.py
+++ python-greenlet/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
@@ -447,6 +449,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.
|