diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-09-14 16:32:39 -0700 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2020-09-17 11:26:50 +0000 |
commit | 80ec7ec6810dfd8b8bf84f089d59b9320b6da36c (patch) | |
tree | 49b005d6e1e58f69a3d938be2afedb9f7a20ac64 /mesonbuild/modules/windows.py | |
parent | 807f88739ebfa002c9a0b9acd3e24c9610fb02a2 (diff) | |
download | meson-80ec7ec6810dfd8b8bf84f089d59b9320b6da36c.zip meson-80ec7ec6810dfd8b8bf84f089d59b9320b6da36c.tar.gz meson-80ec7ec6810dfd8b8bf84f089d59b9320b6da36c.tar.bz2 |
tests: Make monkey patching smarter
There are two problems here. The first is that we're doing manual monkey
patching which is fragile and verbose, when unittest.mock is designed
specifically to solve this exact problem. The second is that we're
monkey patching os.environ at two different levels with the same
information. So let's only do it once.
Diffstat (limited to 'mesonbuild/modules/windows.py')
0 files changed, 0 insertions, 0 deletions