(width, plus_one)
| 418 | |
| 419 | @staticmethod |
| 420 | def create_categories(width, plus_one): |
| 421 | length = int(width / 8) + plus_one |
| 422 | return [ |
| 423 | ''.join(cs) |
| 424 | for cs in take( |
| 425 | 2 ** width + plus_one, |
| 426 | product([chr(c) for c in range(256)], repeat=length), |
| 427 | ) |
| 428 | ] |
| 429 | |
| 430 | def test_narrow_code_storage(self): |
| 431 | create_categories = self.create_categories |
no test coverage detected