(length: int = 2**32)
| 39 | |
| 40 | |
| 41 | def large_mmap(length: int = 2**32): |
| 42 | # Silencing mypy prot argument warning on Windows, even though this |
| 43 | # function is only used in non-Windows-based tests. |
| 44 | return mmap.mmap(-1, length, prot=mmap.PROT_READ) # type: ignore[call-arg,attr-defined,unused-ignore] |
| 45 | |
| 46 | |
| 47 | @pytest.mark.skipif( |
no outgoing calls
no test coverage detected