diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2021-12-23 19:27:24 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2021-12-23 19:27:24 -0500 |
| commit | 02f472c7ab53f21b82f9fdd8904ce3ecae5289e8 (patch) | |
| tree | 6a825e94f465670203782db65a2226c9f02d7e31 /setuptools/_distutils/_msvccompiler.py | |
| parent | 7e33cc7c39420e38b9213e5faef4a06e2d166a32 (diff) | |
| parent | a5af364910aed3974d52d10dae7ac4fa3fc80e7b (diff) | |
| download | python-setuptools-git-02f472c7ab53f21b82f9fdd8904ce3ecae5289e8.tar.gz | |
Merge https://github.com/pypa/distutils into feature/distutils-a5af364910
Diffstat (limited to 'setuptools/_distutils/_msvccompiler.py')
| -rw-r--r-- | setuptools/_distutils/_msvccompiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/_distutils/_msvccompiler.py b/setuptools/_distutils/_msvccompiler.py index b7a06082..c41ea9ae 100644 --- a/setuptools/_distutils/_msvccompiler.py +++ b/setuptools/_distutils/_msvccompiler.py @@ -527,7 +527,7 @@ class MSVCCompiler(CCompiler) : return warnings.warn( "Fallback spawn triggered. Please update distutils monkeypatch.") - with unittest.mock.patch('os.environ', env): + with unittest.mock.patch.dict('os.environ', env): bag.value = super().spawn(cmd) # -- Miscellaneous methods ----------------------------------------- |
