(tmp_path)
| 109 | |
| 110 | |
| 111 | def test_no_env_noop(tmp_path): |
| 112 | before = os.environ.copy() |
| 113 | with lang_base.no_env(Prefix(tmp_path), '1.2.3'): |
| 114 | inside = os.environ.copy() |
| 115 | after = os.environ.copy() |
| 116 | assert before == inside == after |
| 117 | |
| 118 | |
| 119 | @pytest.fixture |