(self)
| 2157 | self.assertRaises(TypeError, Counter.__init__) |
| 2158 | |
| 2159 | def test_total(self): |
| 2160 | c = Counter(a=10, b=5, c=0) |
| 2161 | self.assertEqual(c.total(), 15) |
| 2162 | |
| 2163 | def test_order_preservation(self): |
| 2164 | # Input order dictates items() order |
nothing calls this directly
no test coverage detected