mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-46362: Ensure abspath() tests pass through environment variables to subprocess (GH-30595)
This commit is contained in:
parent
c8319f7921
commit
71c0b859ae
1 changed files with 2 additions and 1 deletions
|
@ -1419,7 +1419,8 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
|
|||
]
|
||||
out, err = self.run_embedded_interpreter(
|
||||
"test_init_initialize_config",
|
||||
env=dict(PYTHONPATH=os.path.pathsep.join(c[0] for c in CASES))
|
||||
env={**remove_python_envvars(),
|
||||
"PYTHONPATH": os.path.pathsep.join(c[0] for c in CASES)}
|
||||
)
|
||||
self.assertEqual(err, "")
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue