(self)
| 182 | self.assertRaises(TypeError, self.gen.sample, dict.fromkeys('abcdef'), 2) |
| 183 | |
| 184 | def test_sample_on_sets(self): |
| 185 | with self.assertRaises(TypeError): |
| 186 | population = {10, 20, 30, 40, 50, 60, 70} |
| 187 | self.gen.sample(population, k=5) |
| 188 | |
| 189 | def test_sample_on_seqsets(self): |
| 190 | class SeqSet(abc.Sequence, abc.Set): |
nothing calls this directly
no test coverage detected