Generate a list of Python ints with *none_prob* probability of an entry being None.
(self, n, none_prob=DEFAULT_NONE_PROB)
| 124 | self.sprinkle(lst, prob, None) |
| 125 | |
| 126 | def generate_int_list(self, n, none_prob=DEFAULT_NONE_PROB): |
| 127 | """ |
| 128 | Generate a list of Python ints with *none_prob* probability of |
| 129 | an entry being None. |
| 130 | """ |
| 131 | data = list(range(n)) |
| 132 | self.sprinkle_nones(data, none_prob) |
| 133 | return data |
| 134 | |
| 135 | def generate_float_list(self, n, none_prob=DEFAULT_NONE_PROB, |
| 136 | use_nan=False): |
no test coverage detected