bpo-46362: Ensure abspath() tests pass through environment variables to subprocess (GH-30595)
This commit is contained in:
parent
c8319f7921
commit
71c0b859ae
@ -1419,7 +1419,8 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
|
|||||||
]
|
]
|
||||||
out, err = self.run_embedded_interpreter(
|
out, err = self.run_embedded_interpreter(
|
||||||
"test_init_initialize_config",
|
"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, "")
|
self.assertEqual(err, "")
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user