| Conditions | 3 | 
| Total Lines | 14 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | import functools | ||
| 36 | def make(self, arg): | ||
| 37 | """ | ||
| 38 | Take an input list and return a frozenset | ||
| 39 | |||
| 40 | useful for testing | ||
| 41 | """ | ||
| 42 | # Handle the same inputs as the pack function | ||
| 43 | if isinstance(arg, list): | ||
| 44 | values = [self.enum(value) for value in arg] | ||
| 45 | else: | ||
| 46 | values = [self.enum(arg)] | ||
| 47 | |||
| 48 | # return this list as a frozenset | ||
| 49 | return frozenset(values) | ||
| 50 |