Exemplo n.º 1
0
 def test_histogram(self):
     fltr = Histogram('a')
     fltr.label_length = 1
     list(fltr.attach(self._simple_data()))
     self.assertEqual(str(fltr), "\n1 **\n5 *\n")