예제 #1
0
 def test_no_chain(self):
     a = object()
     self.assertEqual([a],
                      objgraph._find_chain(a, lambda x: False,
                                           gc.get_referrers))
예제 #2
0
 def test_no_chain(self):
     a = object()
     self.assertEqual(
         [a],
         objgraph._find_chain(a, lambda x: False, gc.get_referrers))