Commits

andrea_crotti committed c3fb4cc

remove the docstrings

  • Participants
  • Parent commits 68b0922
  • Branches pstats

Comments (0)

Files changed (1)

Lib/test/test_pstats.py

         remove(self.temp_storage)
 
     def test_add(self):
-        """Add stats object to a stats created from an empty stream
-        """
         stream = StringIO()
         stats = pstats.Stats(stream=stream)
         stats.add(self.stats, self.stats)
 
     def test_dump_and_load_works_correctly(self):
-        """Dump a statistics on file and load the same file produces
-        the same statistic
-        """
         self.stats.dump_stats(filename=self.temp_storage)
         tmp_stats = pstats.Stats(self.temp_storage)
         self.assertEqual(self.stats.stats, tmp_stats.stats)
         # stats.dump_stats(tmp_out)
 
     def test_load_equivalent_to_init(self):
-        """Check that we can create a pstats file with different
-        objects in input
-        """
         empty = pstats.Stats()
         empty.load_stats(self.temp_storage)
         created = pstats.Stats(self.temp_storage)
 class TupleCompTestCase(unittest.TestCase):
 
     def test_tuple_comp_compare_is_correct(self):
-        """Test the internal class TupleComp, to see if the order
-        generated on the tuples is correct
-        """
         comp_list = [(0, 1), (1, -1), (2, 1)]
         tup = pstats.TupleComp(comp_list)
         to_sort = [(1, 3, 4), (2, 3, 1), (5, 4, 3)]