aboutsummaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-09-14 16:32:39 -0700
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2020-09-17 11:26:50 +0000
commit80ec7ec6810dfd8b8bf84f089d59b9320b6da36c (patch)
tree49b005d6e1e58f69a3d938be2afedb9f7a20ac64 /cross
parent807f88739ebfa002c9a0b9acd3e24c9610fb02a2 (diff)
downloadmeson-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 'cross')
0 files changed, 0 insertions, 0 deletions