def test_statistic_format(self):
    (snapshot, snapshot2) = create_snapshots()
    stats = snapshot.statistics('lineno')
    stat = stats[0]
    self.assertEqual(str(stat), 'b.py:1: size=66 B, count=1, average=66 B')
def test_statistic_format(self):
    (snapshot, snapshot2) = create_snapshots()
    stats = snapshot.statistics('lineno')
    stat = stats[0]
    self.assertEqual(str(stat), 'b.py:1: size=66 B, count=1, average=66 B')