Beispiel #1
0
 def tearDown(self):
     super(StringTests, self).tearDown()
     gc.collect()
     if talloc.total_blocks() != self.startup_blocks:
         talloc.report_full()
         self.fail("it appears we are leaking memory")
Beispiel #2
0
 def tearDown(self):
     super(ArrayTests, self).tearDown()
     gc.collect()
     if talloc.total_blocks() != self.startup_blocks:
         talloc.report_full()
         self.fail("it appears we are leaking memory")
Beispiel #3
0
 def tearDown(self):
     super(ArrayTests, self).tearDown()
     self.assertEqual(talloc.total_blocks(), self.startup_blocks)
     talloc.report_full()
Beispiel #4
0
 def tearDown(self):
     super(ArrayTests, self).tearDown()
     self.assertEqual(talloc.total_blocks(), self.startup_blocks)
     talloc.report_full()