(self)
| 68 | self.assertEqual(counts['foo'], num_threads) |
| 69 | |
| 70 | def test_counter_caching(self): |
| 71 | parent = counting.Counter() |
| 72 | counter = counting.Counter(parent, time_delta=0.) |
| 73 | counter.increment(foo=12) |
| 74 | self.assertEqual(parent.get_counts(), counter.get_counts()) |
| 75 | |
| 76 | def test_shared_counts(self): |
| 77 | # Two counters with shared parent should share counts (modulo namespacing). |
nothing calls this directly
no test coverage detected