forked from Rust-related/RustPython
Merge pull request #4670 from carlosmiei/osx-support-test
Update test__osx_support.py from CPython 3.11
This commit is contained in:
3
Lib/test/test__osx_support.py
vendored
3
Lib/test/test__osx_support.py
vendored
@@ -19,8 +19,7 @@ class Test_OSXSupport(unittest.TestCase):
|
||||
self.maxDiff = None
|
||||
self.prog_name = 'bogus_program_xxxx'
|
||||
self.temp_path_dir = os.path.abspath(os.getcwd())
|
||||
self.env = os_helper.EnvironmentVarGuard()
|
||||
self.addCleanup(self.env.__exit__)
|
||||
self.env = self.enterContext(os_helper.EnvironmentVarGuard())
|
||||
for cv in ('CFLAGS', 'LDFLAGS', 'CPPFLAGS',
|
||||
'BASECFLAGS', 'BLDSHARED', 'LDSHARED', 'CC',
|
||||
'CXX', 'PY_CFLAGS', 'PY_LDFLAGS', 'PY_CPPFLAGS',
|
||||
|
||||
Reference in New Issue
Block a user