(mm_obj)
| 119 | num_letters = len(ascii_uppercase) |
| 120 | |
| 121 | def move(mm_obj): |
| 122 | for i in range(num_letters): |
| 123 | # Move 1 byte from the first half to the second half |
| 124 | mm_obj.move(0 + i, num_letters + i, 1) |
| 125 | |
| 126 | with mmap.mmap(ANONYMOUS_MEM, 2 * num_letters) as mm_obj: |
| 127 | mm_obj.write(ascii_uppercase) |
no outgoing calls
no test coverage detected