()
| 101 | |
| 102 | @contextmanager |
| 103 | def disabled_cache(): |
| 104 | # type: () -> Iterator[None] |
| 105 | |
| 106 | # N.B.: The resolve cache is never actually disabled, `--disable-cache` just switches the cache |
| 107 | # from default PEX_ROOT to a temporary directory. We do the same here. |
| 108 | with temporary_dir() as td, cache(td): |
| 109 | yield |
| 110 | |
| 111 | |
| 112 | def test_empty_resolve(): |
no test coverage detected