(self)
| 2142 | self.assertRaises(TypeError, Counter.__init__) |
| 2143 | |
| 2144 | def test_total(self): |
| 2145 | c = Counter(a=10, b=5, c=0) |
| 2146 | self.assertEqual(c.total(), 15) |
| 2147 | |
| 2148 | def test_order_preservation(self): |
| 2149 | # Input order dictates items() order |
nothing calls this directly
no test coverage detected