]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
the gc_intensive blocks will continue until builds improve
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 10 Oct 2025 12:22:22 +0000 (08:22 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 10 Oct 2025 12:22:22 +0000 (08:22 -0400)
Change-Id: Ie62a2371eb1512ecde3a886f11a4b3de6d6cde3d

test/aaa_profiling/test_orm.py

index e02c7cae857e83df74113e35034494b7ec2e634e..c4f55edb979d959f6d476ae8acd45dcca19b3764 100644 (file)
@@ -534,6 +534,8 @@ class SessionTest(NoCache, fixtures.MappedTest):
         )
         cls.mapper_registry.map_imperatively(Child, child)
 
+    # the profiling count depends on weakref callbacks being GC'ed
+    @testing.add_to_marker.gc_intensive
     def test_expire_lots(self):
         Parent, Child = self.classes.Parent, self.classes.Child
         obj = [