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