()
| 44 | |
| 45 | |
| 46 | def test_mwindow_mapped_limit() -> None: |
| 47 | original = pygit2.settings.mwindow_mapped_limit |
| 48 | try: |
| 49 | test_limit = 300 * 1024 |
| 50 | pygit2.settings.mwindow_mapped_limit = test_limit |
| 51 | assert pygit2.settings.mwindow_mapped_limit == test_limit |
| 52 | finally: |
| 53 | pygit2.settings.mwindow_mapped_limit = original |
| 54 | |
| 55 | |
| 56 | def test_cached_memory() -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…