diff --git a/Lib/test/test_gc.py b/Lib/test/test_gc.py index e02ec7c65212e0..09f1d2b9dcdc47 100644 --- a/Lib/test/test_gc.py +++ b/Lib/test/test_gc.py @@ -1172,7 +1172,7 @@ def make_ll(depth): olds.append(newhead) if len(olds) == 20: new_objects = _testinternalcapi.get_heap_size() - initial_heap_size - self.assertLess(new_objects, 25_000) + self.assertLess(new_objects, 27_000) del olds[:] if not enabled: gc.disable()